System tests: support using pytest instead of run.sh
This MR aims to add support for running system tests with pytest. It targets versions 9.19 and 9.18. The intention is to keep the legacy way of running system tests available as long as 9.16 is supported.
Closes #3978 (closed)
Related #3810
Edited by Nicki Křížek