summaryrefslogtreecommitdiff
path: root/test/CPPFLAGS.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-04-30 19:38:19 +0000
committerSteven Knight <knight@baldmt.com>2003-04-30 19:38:19 +0000
commit3387eab42442c7fe7ed0064de5b939497cc6df1b (patch)
tree3c34e3c08fe379c147c7166067d05a0a87fccaa6 /test/CPPFLAGS.py
parent212d77d88aa4374ef13f2e6bc7edf3395ac9736c (diff)
downloadscons-3387eab42442c7fe7ed0064de5b939497cc6df1b.tar.gz
Test portability fixes for Cygwin. (Chad Austin)
Diffstat (limited to 'test/CPPFLAGS.py')
-rw-r--r--test/CPPFLAGS.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/test/CPPFLAGS.py b/test/CPPFLAGS.py
index d8587c66..87f5603b 100644
--- a/test/CPPFLAGS.py
+++ b/test/CPPFLAGS.py
@@ -30,18 +30,9 @@ import sys
import TestSCons
python = TestSCons.python
-
-if sys.platform == 'win32':
- _exe = '.exe'
- _obj = '.obj'
- _shobj = '.obj'
-else:
- _exe = ''
- _obj = '.o'
- if string.find(sys.platform, 'irix') > -1:
- _shobj = '.o'
- else:
- _shobj = '.os'
+_exe = TestSCons._exe
+_obj = TestSCons._obj
+_shobj = TestSCons._shobj
test = TestSCons.TestSCons()