summaryrefslogtreecommitdiffstats
path: root/test/Dir/mixed-targets.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Dir/mixed-targets.py')
-rw-r--r--test/Dir/mixed-targets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Dir/mixed-targets.py b/test/Dir/mixed-targets.py
index 9702e40..3389746 100644
--- a/test/Dir/mixed-targets.py
+++ b/test/Dir/mixed-targets.py
@@ -46,12 +46,13 @@ def copier(target, source, env):
shutil.copytree(str(source[0]), 'build')
return 0
+DefaultEnvironment(tools=[])
Copier = Builder(action = copier,
target_scanner = SCons.Defaults.DirEntryScanner,
target_factory = Entry,
source_factory = Entry)
-env = Environment(BUILDERS = {'Copier': Copier})
+env = Environment(tools=[], BUILDERS = {'Copier': Copier})
env.Copier(['build/dir', 'build/file1'], ['src'])
""")