diff options
author | Dirk Baechle <dl9obn@darc.de> | 2012-12-18 21:27:01 +0100 |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2012-12-18 21:27:01 +0100 |
commit | 6cede4390b5abb1424e9b79f159cb9567f28bd9c (patch) | |
tree | 572754fc81a9a5239eee054407aa455ca8de5af4 /test/MSVS | |
parent | 84d3d7f420f14bf33bea7f4cfc583118731da93f (diff) | |
download | scons-6cede4390b5abb1424e9b79f159cb9567f28bd9c.tar.gz |
- fixes for MinGW under Windows, mainly skipping MSVS-specific tests
Diffstat (limited to 'test/MSVS')
-rw-r--r-- | test/MSVS/CPPPATH-Dirs.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MSVS/CPPPATH-Dirs.py b/test/MSVS/CPPPATH-Dirs.py index fad25075..45ec846b 100644 --- a/test/MSVS/CPPPATH-Dirs.py +++ b/test/MSVS/CPPPATH-Dirs.py @@ -41,6 +41,10 @@ if sys.platform != 'win32': msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
test.skip_test(msg)
+import SCons.Tool.MSCommon as msc
+if not msc.msvs_exists():
+ msg = "No MSVS toolchain found...skipping test\n"
+ test.skip_test(msg)
SConscript_contents = """\
env = Environment()
|