From 44f13f2a9f763c6284307daf26c88e9f44beaa3c Mon Sep 17 00:00:00 2001 From: Siddharth Chandrasekaran Date: Sat, 9 Mar 2024 02:53:52 +0100 Subject: [PATCH] pytest: run.sh: Add an option to skip running the tests Signed-off-by: Siddharth Chandrasekaran --- tests/pytest/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/pytest/run.sh b/tests/pytest/run.sh index 445e57b..2581705 100755 --- a/tests/pytest/run.sh +++ b/tests/pytest/run.sh @@ -17,5 +17,9 @@ pushd ../../python python3 setup.py install popd +if [[ "$1" == "-n" ]]; then + exit +fi + echo "[-] Running tests capturing all output.." pytest -vv --show-capture=all