summaryrefslogtreecommitdiff
path: root/test/exceptions.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-05-06 22:27:28 +0000
committerSteven Knight <knight@baldmt.com>2002-05-06 22:27:28 +0000
commita2ceacbe77db1b308f26454477ae3b1f1139eac8 (patch)
tree8f1532baef4ea475eb5ff7bff4e74b15e7d48a27 /test/exceptions.py
parent06b66d7da2547d860be7a124c54d3ddf2ee964e1 (diff)
downloadscons-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.py5
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