From d1009d5f74e2a7abde82cb453c34de957d56bcc2 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Sat, 31 Jan 2009 20:48:18 +0000 Subject: Update the runtest.py test for the error message change. Clarify the error message a bit. --- runtest.py | 4 +++- test/runtest/fallback.py | 3 ++- 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 -- cgit v0.12