summaryrefslogtreecommitdiffstats
path: root/test/Install/InstallAs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Install/InstallAs.py')
-rw-r--r--test/Install/InstallAs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Install/InstallAs.py b/test/Install/InstallAs.py
index 537ea3a..47ee9f6 100644
--- a/test/Install/InstallAs.py
+++ b/test/Install/InstallAs.py
@@ -47,7 +47,8 @@ _SUBDIR_file3_in = os.path.join('$SUBDIR', 'file3.in')
#
test.write('SConstruct', r"""
-env = Environment(INSTALLDIR=r'%(install)s', SUBDIR='subdir')
+DefaultEnvironment(tools=[])
+env = Environment(tools=[], INSTALLDIR=r'%(install)s', SUBDIR='subdir')
InstallAs(r'%(install_file1_out)s', 'file1.in')
env.InstallAs([r'%(_INSTALLDIR_file2_out)s', r'%(install_file3_out)s'],
['file2.in', r'%(_SUBDIR_file3_in)s'])