summaryrefslogtreecommitdiffstats
path: root/test/Platform.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-07-08 23:49:25 (GMT)
committerSteven Knight <knight@baldmt.com>2002-07-08 23:49:25 (GMT)
commit3de3284918acb0add37b818400c1a7309a3316ff (patch)
treeade66700ef7c766a9057b0672b2bd4e7e9be7159 /test/Platform.py
parenta745dc65b8ccbc9b843a992b97218d5551ef644c (diff)
downloadSCons-3de3284918acb0add37b818400c1a7309a3316ff.zip
SCons-3de3284918acb0add37b818400c1a7309a3316ff.tar.gz
SCons-3de3284918acb0add37b818400c1a7309a3316ff.tar.bz2
Add a prototype os2 Platform() module.
Diffstat (limited to 'test/Platform.py')
-rw-r--r--test/Platform.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Platform.py b/test/Platform.py
index f4b470c..6eaa5dc 100644
--- a/test/Platform.py
+++ b/test/Platform.py
@@ -32,6 +32,8 @@ test.write('SConstruct', """
env = {}
Platform('cygwin')(env)
print "'%s'" % env['PROGSUFFIX']
+Platform('os2')(env)
+print "'%s'" % env['PROGSUFFIX']
Platform('posix')(env)
print "'%s'" % env['PROGSUFFIX']
Platform('win32')(env)
@@ -43,6 +45,8 @@ test.write('SConscript', """
env = {}
Platform('cygwin')(env)
print "'%s'" % env['LIBSUFFIX']
+Platform('os2')(env)
+print "'%s'" % env['LIBSUFFIX']
Platform('posix')(env)
print "'%s'" % env['LIBSUFFIX']
Platform('win32')(env)
@@ -50,9 +54,11 @@ print "'%s'" % env['LIBSUFFIX']
""")
expect = """'.exe'
+'.exe'
''
'.exe'
'.a'
+'.lib'
'.a'
'.lib'
"""