summaryrefslogtreecommitdiffstats
path: root/test/CPPFLAGS.py
diff options
context:
space:
mode:
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 d8587c6..87f5603 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()