Skip to content

Commit e192e3f

Browse files
committed
tests: Allow altering arguments to test script
This is very useful when changing C code, as only socket tests need to be run.
1 parent b551075 commit e192e3f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

run-tests

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ fi
1717

1818
set -x
1919

20-
python3 -m coverage run -m pytest -o python_files=*.py -v qrexec/tests "$@"
20+
if [[ "$#" = 0 ]]; then set -- -v qrexec/tests; fi
21+
22+
python3 -m coverage run -m pytest -o 'python_files=*.py' "$@"

0 commit comments

Comments
 (0)