Skip to content

Commit

Permalink
tests: Allow altering arguments to test script
Browse files Browse the repository at this point in the history
This is very useful when changing C code, as only socket tests need to
be run.
  • Loading branch information
DemiMarie committed Apr 1, 2024
1 parent b551075 commit e192e3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ fi

set -x

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

python3 -m coverage run -m pytest -o 'python_files=*.py' "$@"

0 comments on commit e192e3f

Please sign in to comment.