summaryrefslogtreecommitdiff
path: root/tests/driver.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/driver.sh')
-rwxr-xr-xtests/driver.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/driver.sh b/tests/driver.sh
index 879c093d..d20809d0 100755
--- a/tests/driver.sh
+++ b/tests/driver.sh
@@ -21,5 +21,9 @@ fi
$TESTSRV -q -a 127.0.0.1 &
echo $! >> $TESTPID
sleep 1
-python3 -m unittest $1.py
+if [[ $# -eq 1 ]] ; then
+ python3 -m unittest $1.py
+else
+ python3 -m unittest $1.Suite.$2
+fi
kill `cat $TESTPID`