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/option--U.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/option--U.py')
-rw-r--r-- | test/option--U.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/option--U.py b/test/option--U.py index 7f3e3f2..b984507 100644 --- a/test/option--U.py +++ b/test/option--U.py @@ -45,7 +45,7 @@ file.close() test.write('SConstruct', """ import SCons.Defaults -B = Builder(name='B', action='%s build.py $TARGET $SOURCES') +B = Builder(name='B', action='%s build.py $TARGET $SOURCES', multi=1) env = Environment(BUILDERS = [B, SCons.Defaults.Alias]) Default(env.B(target = 'sub1/foo.out', source = 'sub1/foo.in')) Export('env') |