diff options
Diffstat (limited to 'test/ENV.py')
-rw-r--r-- | test/ENV.py | 6 |
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) |