summaryrefslogtreecommitdiffstats
path: root/test/Scanner-exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Scanner-exception.py')
-rw-r--r--test/Scanner-exception.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/Scanner-exception.py b/test/Scanner-exception.py
index 53ae7a0..7615888 100644
--- a/test/Scanner-exception.py
+++ b/test/Scanner-exception.py
@@ -108,11 +108,8 @@ test.write('zzz', "zzz 1\n")
test.run(arguments = '.',
status = 2,
- stderr = None)
-test.fail_test(not test.match_re_dotall(test.stderr(), """\
-scons: \\*\\*\\* kfile_scan error: yyy 1
-scons: internal stack trace:
- File .*
-"""))
+ stderr = """\
+scons: *** kfile_scan error: yyy 1
+""")
test.pass_test()