aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authorEverett Hildenbrandt <hildenb2@illinois.edu>2018-05-30 07:20:17 +0800
committerEverett Hildenbrandt <hildenb2@illinois.edu>2018-05-31 22:37:30 +0800
commit0c26bbe6b034710cb4a20903b111e3dadb2ba539 (patch)
tree112d85e4215b5d54e102e49dba3ce5522b1f9630 /test.py
parentdb66cd83f14c09dcc4934e5b46871450a42abb66 (diff)
downloaddexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.tar.gz
dexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.tar.zst
dexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.zip
test.py: fail if no tests lists/run
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.py b/test.py
index b78123aee..45c0fb321 100755
--- a/test.py
+++ b/test.py
@@ -117,6 +117,9 @@ def main():
else:
testList = listTests(filePrefixes=sys.argv[2:])
+ if len(testList) == 0:
+ _die("No tests listed!!!")
+
if test_command == "list":
testDo = lambda t: print(t)
elif test_command == "format":