summaryrefslogtreecommitdiffstats
path: root/test/Install/wrap-by-attribute.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Install/wrap-by-attribute.py')
-rw-r--r--test/Install/wrap-by-attribute.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Install/wrap-by-attribute.py b/test/Install/wrap-by-attribute.py
index 02513af..6989fa8 100644
--- a/test/Install/wrap-by-attribute.py
+++ b/test/Install/wrap-by-attribute.py
@@ -42,6 +42,7 @@ test = TestSCons.TestSCons()
test.subdir('outside', 'sub')
test.write('SConstruct', """\
+DefaultEnvironment(tools=[])
import os.path
def cat(env, source, target):
@@ -51,7 +52,7 @@ def cat(env, source, target):
f.write(open(str(src), "rb").read())
f.close()
-env = Environment(DESTDIR='dest')
+env = Environment(tools=[], DESTDIR='dest')
env.Append(BUILDERS={'Cat':Builder(action=cat)})
env.SconsInternalInstallFunc = env.Install