diff options
Diffstat (limited to 'test/Builder/multi/same-actions.py')
-rw-r--r-- | test/Builder/multi/same-actions.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Builder/multi/same-actions.py b/test/Builder/multi/same-actions.py index 5695fa3..0b75566 100644 --- a/test/Builder/multi/same-actions.py +++ b/test/Builder/multi/same-actions.py @@ -34,13 +34,15 @@ import TestSCons test = TestSCons.TestSCons(match=TestSCons.match_re) test.write('SConstruct', """\ +DefaultEnvironment(tools=[]) + def build(env, target, source): file = open(str(target[0]), 'wb') for s in source: file.write(open(str(s), 'rb').read()) B = Builder(action=build, multi=1) -env = Environment(BUILDERS = { 'B' : B }) +env = Environment(tools=[], BUILDERS = { 'B' : B }) env2 = env.Clone(DIFFERENT_VARIABLE = 'true') env.B(target = 'file5.out', source = 'file5a.in') env2.B(target = 'file5.out', source = 'file5b.in') |