diff options
author | anatoly techtonik <techtonik@gmail.com> | 2014-03-20 12:25:34 (GMT) |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2014-03-20 12:25:34 (GMT) |
commit | dd17d6f1a71fe0787d0e781f3490e7f9a66a6b0d (patch) | |
tree | 84738dbf270c0a841b13c222fc5e9b8f72fa9453 /runtest.py | |
parent | 8888332a048439c4614ee317c98302ad4b571621 (diff) | |
download | SCons-dd17d6f1a71fe0787d0e781f3490e7f9a66a6b0d.zip SCons-dd17d6f1a71fe0787d0e781f3490e7f9a66a6b0d.tar.gz SCons-dd17d6f1a71fe0787d0e781f3490e7f9a66a6b0d.tar.bz2 |
runtest.py: Remove double check if no tests are found.
Diffstat (limited to 'runtest.py')
-rwxr-xr-x | runtest.py | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -280,13 +280,6 @@ for o, a in opts: elif o in ['-x', '--exec']: scons = a -if not args and not options.all and not testlistfile: - sys.stderr.write(usagestr + """ -runtest.py: No tests were specified. - Tests can be specified on the command line, read from file - with -f option, or discovered with -a to run all tests. -""") - sys.exit(1) # --- setup stdout/stderr --- @@ -721,8 +714,10 @@ else: tests.sort() if not tests: - sys.stderr.write("""\ + sys.stderr.write(usagestr + """ runtest.py: No tests were found. + Tests can be specified on the command line, read from file + with -f option, or discovered with -a to run all tests. """) sys.exit(1) |