summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-01-31 20:48:18 +0000
committerSteven Knight <knight@baldmt.com>2009-01-31 20:48:18 +0000
commitd28eb60d2300ea640c50ed235c85a95b66d932de (patch)
tree9b54c6a9dd4d5cafe8b09d41391d125f725d37cd
parentacb0d158957277ab6471eca5f4fd30abb721825d (diff)
downloadscons-d28eb60d2300ea640c50ed235c85a95b66d932de.tar.gz
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 e5fd2d47..d2ee2e98 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 9ea106a7..5e97f813 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