diff options
author | Steven Knight <knight@baldmt.com> | 2009-01-31 20:48:18 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-01-31 20:48:18 (GMT) |
commit | d1009d5f74e2a7abde82cb453c34de957d56bcc2 (patch) | |
tree | 9b54c6a9dd4d5cafe8b09d41391d125f725d37cd | |
parent | dde27a8e5624750662be9a8283929e3f444790d7 (diff) | |
download | SCons-d1009d5f74e2a7abde82cb453c34de957d56bcc2.zip SCons-d1009d5f74e2a7abde82cb453c34de957d56bcc2.tar.gz SCons-d1009d5f74e2a7abde82cb453c34de957d56bcc2.tar.bz2 |
Update the runtest.py test for the error message change.
Clarify the error message a bit.
-rw-r--r-- | runtest.py | 4 | ||||
-rw-r--r-- | test/runtest/fallback.py | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -280,7 +280,9 @@ except NameError: qmtest = path break if not qmtest: - sys.stderr.write('Warning: qmtest/qmtest.py not found on $PATH, assuming --noqmtest option.\n') + msg = ('Warning: found neither qmtest nor qmtest.py on $PATH;\n' + + '\tassuming --noqmtest option.\n') + sys.stderr.write(msg) sys.stderr.flush() aegis = whereis('aegis') diff --git a/test/runtest/fallback.py b/test/runtest/fallback.py index 9ea106a..5e97f81 100644 --- a/test/runtest/fallback.py +++ b/test/runtest/fallback.py @@ -92,7 +92,8 @@ NO RESULT from the following test: """ % locals() expect_stderr = """\ -Warning: qmtest not found on $PATH, assuming --noqmtest option. +Warning: found neither qmtest nor qmtest.py on $PATH; +\tassuming --noqmtest option. FAILING TEST STDERR NO RESULT TEST STDERR PASSING TEST STDERR |