summaryrefslogtreecommitdiffstats
path: root/test/CacheDir/VariantDir.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CacheDir/VariantDir.py')
-rw-r--r--test/CacheDir/VariantDir.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CacheDir/VariantDir.py b/test/CacheDir/VariantDir.py
index d31b9ed..58918be 100644
--- a/test/CacheDir/VariantDir.py
+++ b/test/CacheDir/VariantDir.py
@@ -47,7 +47,7 @@ def cat(env, source, target):
for src in source:
f.write(open(str(src), "r").read())
f.close()
-env = Environment(BUILDERS={'Cat':Builder(action=cat)})
+env = Environment(tools=[], BUILDERS={'Cat':Builder(action=cat)})
env.Cat('aaa.out', 'aaa.in')
env.Cat('bbb.out', 'bbb.in')
env.Cat('ccc.out', 'ccc.in')
@@ -65,7 +65,8 @@ test.write(['src', 'ccc.in'], "ccc.in\n")
#
test.write('SConstruct', """\
-env = Environment(TWO = '2')
+DefaultEnvironment(tools=[])
+env = Environment(tools=[], TWO = '2')
CacheDir(r'%s')
VariantDir('build', 'src', duplicate=0)
SConscript('build/SConscript')