diff options
author | Steven Knight <knight@baldmt.com> | 2002-11-25 23:33:49 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-11-25 23:33:49 (GMT) |
commit | dd30a312b7c59abd25d41c3d332df57801abf66b (patch) | |
tree | 850fbde140c46672ee388dea2fe3fc0dd4ed525f /test/Platform.py | |
parent | 22c249b07f1831b86aca87ba1728a0cf19884b80 (diff) | |
download | SCons-dd30a312b7c59abd25d41c3d332df57801abf66b.zip SCons-dd30a312b7c59abd25d41c3d332df57801abf66b.tar.gz SCons-dd30a312b7c59abd25d41c3d332df57801abf66b.tar.bz2 |
Make the shell pickable via a construction variable. (Anthony Roach)
Diffstat (limited to 'test/Platform.py')
-rw-r--r-- | test/Platform.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Platform.py b/test/Platform.py index 34f1b52..7bbdf7a 100644 --- a/test/Platform.py +++ b/test/Platform.py @@ -29,9 +29,10 @@ import TestSCons test = TestSCons.TestSCons() test.write('SConstruct', """ -env = {} +env = Environment() Platform('cygwin')(env) print "'%s'" % env['PROGSUFFIX'] +assert env['SHELL'] == 'sh' Platform('os2')(env) print "'%s'" % env['PROGSUFFIX'] Platform('posix')(env) @@ -42,7 +43,7 @@ SConscript('SConscript') """) test.write('SConscript', """ -env = {} +env = Environment() Platform('cygwin')(env) print "'%s'" % env['LIBSUFFIX'] Platform('os2')(env) |