diff options
author | Everett Hildenbrandt <hildenb2@illinois.edu> | 2018-05-30 07:20:17 +0800 |
---|---|---|
committer | Everett Hildenbrandt <hildenb2@illinois.edu> | 2018-05-31 22:37:30 +0800 |
commit | 0c26bbe6b034710cb4a20903b111e3dadb2ba539 (patch) | |
tree | 112d85e4215b5d54e102e49dba3ce5522b1f9630 | |
parent | db66cd83f14c09dcc4934e5b46871450a42abb66 (diff) | |
download | dexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.tar dexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.tar.gz dexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.tar.bz2 dexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.tar.lz dexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.tar.xz dexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.tar.zst dexon-tests-0c26bbe6b034710cb4a20903b111e3dadb2ba539.zip |
test.py: fail if no tests lists/run
-rwxr-xr-x | test.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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": |