diff options
author | Steven Knight <knight@baldmt.com> | 2002-05-06 22:27:28 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-05-06 22:27:28 +0000 |
commit | a2ceacbe77db1b308f26454477ae3b1f1139eac8 (patch) | |
tree | 8f1532baef4ea475eb5ff7bff4e74b15e7d48a27 /test/exceptions.py | |
parent | 06b66d7da2547d860be7a124c54d3ddf2ee964e1 (diff) | |
download | scons-a2ceacbe77db1b308f26454477ae3b1f1139eac8.tar.gz |
Raise an error if a builder is called multiple times for a given target, unless the builder is marked as multicall safe. (Anthony Roach)
Diffstat (limited to 'test/exceptions.py')
-rw-r--r-- | test/exceptions.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/exceptions.py b/test/exceptions.py index acfe9dd5..b3de4871 100644 --- a/test/exceptions.py +++ b/test/exceptions.py @@ -29,7 +29,7 @@ import sys import TestSCons import TestCmd -test = TestSCons.TestSCons(match = TestCmd.match_re) +test = TestSCons.TestSCons(match = TestCmd.match_re_dotall) test.write('SConstruct', """ def func(source = None, target = None, env = None): @@ -44,11 +44,8 @@ test.write('foo.in', "foo.in\n") test.run(arguments = "foo.out", stderr = """scons: \*\*\* \[foo.out\] Exception Traceback \((most recent call|innermost) last\): File ".+", line \d+, in .+ - .+ File ".+", line \d+, in .+ - .+ File ".+", line \d+, in .+ - .+ File "SConstruct", line 3, in func raise "func exception" func exception |