summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar fab <fabrice.leal.ch@gmail.com>2018-12-25 19:03:26 +0000
committerGravatar fab <fabrice.leal.ch@gmail.com>2018-12-25 19:03:26 +0000
commit64701d6a8ecfc3fcbe8d44282ad868eedf106937 (patch)
tree78c388d0e90fca2e58de1f021c1650a5889e73fe /tests
parent5f2c8ad4f6f6e01a1d3816b430e9695c03f30472 (diff)
avoid a pow call if we can
Diffstat (limited to 'tests')
-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`