summaryrefslogtreecommitdiffstats
path: root/test/AS/ASFLAGS.py
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2012-12-18 20:27:01 (GMT)
committerDirk Baechle <dl9obn@darc.de>2012-12-18 20:27:01 (GMT)
commit66e6ceeca3bfa6af0a367bf57dccb8a591e2a82f (patch)
tree572754fc81a9a5239eee054407aa455ca8de5af4 /test/AS/ASFLAGS.py
parent02cae725ed116ae6cd996fe3bf5888f7f8f61b97 (diff)
downloadSCons-66e6ceeca3bfa6af0a367bf57dccb8a591e2a82f.zip
SCons-66e6ceeca3bfa6af0a367bf57dccb8a591e2a82f.tar.gz
SCons-66e6ceeca3bfa6af0a367bf57dccb8a591e2a82f.tar.bz2
- fixes for MinGW under Windows, mainly skipping MSVS-specific tests
Diffstat (limited to 'test/AS/ASFLAGS.py')
-rw-r--r--test/AS/ASFLAGS.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/AS/ASFLAGS.py b/test/AS/ASFLAGS.py
index 024cea3..2cc99e3 100644
--- a/test/AS/ASFLAGS.py
+++ b/test/AS/ASFLAGS.py
@@ -35,10 +35,12 @@ _exe = TestSCons._exe
if sys.platform == 'win32':
-
+ import SCons.Tool.MSCommon as msc
+
o = ' -x'
-
o_c = ' -x'
+ if not msc.msvc_exists():
+ o_c = ' -x -c'
test.write('mylink.py', r"""
import sys
@@ -95,7 +97,6 @@ sys.exit(0)
else:
o = ' -x'
-
o_c = ' -x -c'
test.write('mylink.py', r"""