From 64701d6a8ecfc3fcbe8d44282ad868eedf106937 Mon Sep 17 00:00:00 2001 From: fab Date: Tue, 25 Dec 2018 19:03:26 +0000 Subject: avoid a pow call if we can --- tests/driver.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') 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` -- cgit v1.2.3