Commit beb2e14d authored by Petr Špaček's avatar Petr Špaček Committed by Tomas Krizek

run.sh: add compatibility with old TESTS env var

parent c5505222
...@@ -4,7 +4,9 @@ LDPRELOAD=$(make depend -C "${MAKEDIR}") ...@@ -4,7 +4,9 @@ LDPRELOAD=$(make depend -C "${MAKEDIR}")
source ${MAKEDIR}/env.sh source ${MAKEDIR}/env.sh
python3 -m pytest -q tests/test_runner.py "$@" # compatibility with old TESTS= env variable
# add --scenarios= only if the variable TESTS is non-empty
python3 -m pytest -q tests/test_runner.py ${TESTS:+"--scenarios=${TESTS}"} "$@"
RETVAL=$? RETVAL=$?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment