diff options
author | Steven Knight <knight@baldmt.com> | 2004-10-27 11:36:40 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-10-27 11:36:40 (GMT) |
commit | d4e57deb7edf480a8c95542d4dd2afe4e756a137 (patch) | |
tree | dd5ca9d95dda271ba13b853f7abc2d82ccaacea8 /test/overrides.py | |
parent | dd9a6d52a84c445b7516fc80b72f2baa3bc8b937 (diff) | |
download | SCons-d4e57deb7edf480a8c95542d4dd2afe4e756a137.zip SCons-d4e57deb7edf480a8c95542d4dd2afe4e756a137.tar.gz SCons-d4e57deb7edf480a8c95542d4dd2afe4e756a137.tar.bz2 |
Better test handling of File lines in stack traces. (Chad Austin)
Diffstat (limited to 'test/overrides.py')
-rw-r--r-- | test/overrides.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/overrides.py b/test/overrides.py index 1013413..69f7440 100644 --- a/test/overrides.py +++ b/test/overrides.py @@ -118,11 +118,9 @@ open('goodbye.not_exe', 'wt').write('this is not a program!') test.run(arguments='goodbye.not_exe', stderr=None) test.fail_test(not test.match_re(test.stderr(), r""" scons: warning: Did you mean to use `(target|source)' instead of `(targets|sources)'\? -File "SConstruct", line \d+, in .+ - +""" + TestSCons.file_expr + r""" scons: warning: Did you mean to use `(target|source)' instead of `(targets|sources)'\? -File "SConstruct", line \d+, in .+ -""")) +""" + TestSCons.file_expr)) assert test.read('goodbye.not_obj') == 'this is no object file!' assert test.read('goodbye.not_exe') == 'this is not a program!' |