summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-01-31 20:48:18 (GMT)
committerSteven Knight <knight@baldmt.com>2009-01-31 20:48:18 (GMT)
commitd1009d5f74e2a7abde82cb453c34de957d56bcc2 (patch)
tree9b54c6a9dd4d5cafe8b09d41391d125f725d37cd
parentdde27a8e5624750662be9a8283929e3f444790d7 (diff)
downloadSCons-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.py4
-rw-r--r--test/runtest/fallback.py3
2 files changed, 5 insertions, 2 deletions
diff --git a/runtest.py b/runtest.py
index e5fd2d4..d2ee2e9 100644
--- a/runtest.py
+++ b/runtest.py
@@ -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