diff options
author | Dirk Baechle <dl9obn@darc.de> | 2012-12-18 20:27:01 (GMT) |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2012-12-18 20:27:01 (GMT) |
commit | 66e6ceeca3bfa6af0a367bf57dccb8a591e2a82f (patch) | |
tree | 572754fc81a9a5239eee054407aa455ca8de5af4 /test/MSVC/batch-longlines.py | |
parent | 02cae725ed116ae6cd996fe3bf5888f7f8f61b97 (diff) | |
download | SCons-66e6ceeca3bfa6af0a367bf57dccb8a591e2a82f.zip SCons-66e6ceeca3bfa6af0a367bf57dccb8a591e2a82f.tar.gz SCons-66e6ceeca3bfa6af0a367bf57dccb8a591e2a82f.tar.bz2 |
- fixes for MinGW under Windows, mainly skipping MSVS-specific tests
Diffstat (limited to 'test/MSVC/batch-longlines.py')
-rw-r--r-- | test/MSVC/batch-longlines.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MSVC/batch-longlines.py b/test/MSVC/batch-longlines.py index 5a04295..a5786fa 100644 --- a/test/MSVC/batch-longlines.py +++ b/test/MSVC/batch-longlines.py @@ -39,6 +39,11 @@ if sys.platform != 'win32': msg = "Skipping Visual C/C++ test on non-Windows platform '%s'\n" % sys.platform
test.skip_test(msg)
+import SCons.Tool.MSCommon as msc
+if not msc.msvc_exists():
+ msg = "No MSVC toolchain found...skipping test\n"
+ test.skip_test(msg)
+
_python_ = TestSCons._python_
for i in xrange(1,200):
|