summaryrefslogtreecommitdiffstats
path: root/test/CacheDir/option--cr.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CacheDir/option--cr.py')
-rw-r--r--test/CacheDir/option--cr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CacheDir/option--cr.py b/test/CacheDir/option--cr.py
index 792dede..4ed587c 100644
--- a/test/CacheDir/option--cr.py
+++ b/test/CacheDir/option--cr.py
@@ -39,6 +39,7 @@ test = TestSCons.TestSCons()
test.subdir('cache', 'src')
test.write(['src', 'SConstruct'], """
+DefaultEnvironment(tools=[])
def cat(env, source, target):
target = str(target[0])
open('cat.out', 'a').write(target + "\\n")
@@ -46,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')