diff options
author | Steven Knight <knight@baldmt.com> | 2002-05-06 22:27:28 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-05-06 22:27:28 (GMT) |
commit | a2ceacbe77db1b308f26454477ae3b1f1139eac8 (patch) | |
tree | 8f1532baef4ea475eb5ff7bff4e74b15e7d48a27 /test/errors.py | |
parent | 06b66d7da2547d860be7a124c54d3ddf2ee964e1 (diff) | |
download | SCons-a2ceacbe77db1b308f26454477ae3b1f1139eac8.zip SCons-a2ceacbe77db1b308f26454477ae3b1f1139eac8.tar.gz SCons-a2ceacbe77db1b308f26454477ae3b1f1139eac8.tar.bz2 |
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/errors.py')
-rw-r--r-- | test/errors.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/errors.py b/test/errors.py index 9f1a83c..fb042bb 100644 --- a/test/errors.py +++ b/test/errors.py @@ -28,7 +28,7 @@ import TestCmd import TestSCons import string -test = TestSCons.TestSCons(match = TestCmd.match_re) +test = TestSCons.TestSCons(match = TestCmd.match_re_dotall) test.write('foo.in', 'foo') test.write('exit.in', 'exit') @@ -52,11 +52,8 @@ env.exit('exit.out', 'exit.in') stderr = """scons: \*\*\* \[exit.out\] Exception Traceback \((most recent call|innermost) last\): File ".+", line \d+, in .+ - .+ File ".+", line \d+, in .+ - .+ File ".+", line \d+, in .+ - .+ File ".+", line \d+, in .+ .+ .+ @@ -109,11 +106,8 @@ test.run(arguments='-f SConstruct3', stdout = "other errors\n", stderr = r"""Traceback \((most recent call|innermost) last\): File ".+", line \d+, in .+ - .+ File ".+", line \d+, in .+ - .+ File ".+", line \d+, in .+ - .+ File "SConstruct3", line \d+, in \? raise InternalError, 'error inside' InternalError: error inside |