From 0c26bbe6b034710cb4a20903b111e3dadb2ba539 Mon Sep 17 00:00:00 2001 From: Everett Hildenbrandt Date: Tue, 29 May 2018 17:20:17 -0600 Subject: test.py: fail if no tests lists/run --- test.py | 3 +++ 1 file changed, 3 insertions(+) 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": -- cgit