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 | f406bb44971be2c70b73c0d19f7b232d12ab10f3 (patch) | |
tree | dd5ca9d95dda271ba13b853f7abc2d82ccaacea8 /test/overrides.py | |
parent | db2f5ec5d3c155c8d542528f49f0f98451465a4c (diff) | |
download | SCons-f406bb44971be2c70b73c0d19f7b232d12ab10f3.zip SCons-f406bb44971be2c70b73c0d19f7b232d12ab10f3.tar.gz SCons-f406bb44971be2c70b73c0d19f7b232d12ab10f3.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!' |