From 1ee3d21f6b5eb2dcca777688df48210a0addadaf Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sat, 31 Jan 2009 20:48:18 +0000 Subject: [PATCH] Update the runtest.py test for the error message change. Clarify the error message a bit. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3940 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- runtest.py | 4 +++- test/runtest/fallback.py | 3 ++- 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 -- 2.26.2