aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
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":