summaryrefslogtreecommitdiff
path: root/test/Platform.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-09-25 05:18:23 +0000
committerSteven Knight <knight@baldmt.com>2003-09-25 05:18:23 +0000
commit41a3eeec87272670f593f46ab8558d0ab99046f5 (patch)
tree99bf886e89cd998dd6a32bdeb6894f15243122ce /test/Platform.py
parentfd20ba3535a82bc7a6749d0020b344f4957ebc5d (diff)
downloadscons-41a3eeec87272670f593f46ab8558d0ab99046f5.tar.gz
Add more environment methods for global functions: Action(), Builder(), Environment(), Literal(), Platform(), Split(), Tool(). Deprecate ParseConfig() in favor of an environment method.
Diffstat (limited to 'test/Platform.py')
-rw-r--r--test/Platform.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Platform.py b/test/Platform.py
index 94961fba..b0afe2e6 100644
--- a/test/Platform.py
+++ b/test/Platform.py
@@ -35,7 +35,7 @@ print "'%s'" % env['PROGSUFFIX']
assert env['SHELL'] == 'sh'
Platform('os2')(env)
print "'%s'" % env['PROGSUFFIX']
-Platform('posix')(env)
+env.Platform('posix')
print "'%s'" % env['PROGSUFFIX']
Platform('win32')(env)
print "'%s'" % env['PROGSUFFIX']
@@ -48,7 +48,7 @@ Platform('cygwin')(env)
print "'%s'" % env['LIBSUFFIX']
Platform('os2')(env)
print "'%s'" % env['LIBSUFFIX']
-Platform('posix')(env)
+env.Platform('posix')
print "'%s'" % env['LIBSUFFIX']
Platform('win32')(env)
print "'%s'" % env['LIBSUFFIX']