summaryrefslogtreecommitdiffstats
path: root/test/ENV.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-04-30 19:38:19 (GMT)
committerSteven Knight <knight@baldmt.com>2003-04-30 19:38:19 (GMT)
commit3387eab42442c7fe7ed0064de5b939497cc6df1b (patch)
tree3c34e3c08fe379c147c7166067d05a0a87fccaa6 /test/ENV.py
parent212d77d88aa4374ef13f2e6bc7edf3395ac9736c (diff)
downloadSCons-3387eab42442c7fe7ed0064de5b939497cc6df1b.zip
SCons-3387eab42442c7fe7ed0064de5b939497cc6df1b.tar.gz
SCons-3387eab42442c7fe7ed0064de5b939497cc6df1b.tar.bz2
Test portability fixes for Cygwin. (Chad Austin)
Diffstat (limited to 'test/ENV.py')
-rw-r--r--test/ENV.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/ENV.py b/test/ENV.py
index f92a2d8..31ad970 100644
--- a/test/ENV.py
+++ b/test/ENV.py
@@ -37,8 +37,10 @@ bin2_build_py = test.workpath('bin2', 'build.py')
test.write('SConstruct', """
import os
Bld = Builder(action = r"%s build.py $TARGET $SOURCES")
-env1 = Environment(ENV = {'X' : 'env1'}, BUILDERS = { 'Bld' : Bld })
-env2 = Environment(ENV = {'X' : 'env2'}, BUILDERS = { 'Bld' : Bld })
+env1 = Environment(BUILDERS = { 'Bld' : Bld })
+env2 = Environment(BUILDERS = { 'Bld' : Bld })
+env1['ENV']['X'] = 'env1'
+env2['ENV']['X'] = 'env2'
env1.Bld(target = 'env1.out', source = 'input')
env2.Bld(target = 'env2.out', source = 'input')
""" % python)