summaryrefslogtreecommitdiffstats
path: root/test/CacheDir/multi-targets.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CacheDir/multi-targets.py')
-rw-r--r--test/CacheDir/multi-targets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CacheDir/multi-targets.py b/test/CacheDir/multi-targets.py
index 9ca194e..7977ba0 100644
--- a/test/CacheDir/multi-targets.py
+++ b/test/CacheDir/multi-targets.py
@@ -40,11 +40,12 @@ multiple_bar = test.workpath('multiple', 'bar')
multiple_foo = test.workpath('multiple', 'foo')
test.write(['multiple', 'SConstruct'], """\
+DefaultEnvironment(tools=[])
def touch(env, source, target):
open('foo', 'w').write("")
open('bar', 'w').write("")
CacheDir(r'%(cache)s')
-env = Environment()
+env = Environment(tools=[])
env.Command(['foo', 'bar'], ['input'], touch)
""" % locals())