diff options
author | Steven Knight <knight@baldmt.com> | 2010-02-18 14:28:50 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-02-18 14:28:50 (GMT) |
commit | cc62454164849720eeffd08aea925f8d474b9d7c (patch) | |
tree | 9c829db2924c330c9bca67ba7dc965cef5149611 /test | |
parent | add807fa0aa088d65ef5e760b0f77643239df42d (diff) | |
download | SCons-cc62454164849720eeffd08aea925f8d474b9d7c.zip SCons-cc62454164849720eeffd08aea925f8d474b9d7c.tar.gz SCons-cc62454164849720eeffd08aea925f8d474b9d7c.tar.bz2 |
Fix the test on all Python versions (failed on versions before 2.5 due
to some regex problem).
Diffstat (limited to 'test')
-rw-r--r-- | test/Builder/not-a-Builder.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Builder/not-a-Builder.py b/test/Builder/not-a-Builder.py index 355dc77..37ce605 100644 --- a/test/Builder/not-a-Builder.py +++ b/test/Builder/not-a-Builder.py @@ -44,13 +44,12 @@ env.mkdir(env.Dir('src'), None) expect_stderr = """\ -scons: \\*\\*\\* .* is not a Builder\\. +scons: *** 1 is not a Builder. """ + test.python_file_line(SConstruct_path, 4) test.run(arguments='.', stderr=expect_stderr, - status=2, - match=TestSCons.match_re) + status=2) test.pass_test() |