summaryrefslogtreecommitdiffstats
path: root/test/MSVS/vs-8.0-variant_dir.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVS/vs-8.0-variant_dir.py')
-rw-r--r--test/MSVS/vs-8.0-variant_dir.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MSVS/vs-8.0-variant_dir.py b/test/MSVS/vs-8.0-variant_dir.py
index 22509cb..a27cfaf 100644
--- a/test/MSVS/vs-8.0-variant_dir.py
+++ b/test/MSVS/vs-8.0-variant_dir.py
@@ -30,9 +30,15 @@ solution (.sln) files that look correct when using a variant_dir.
"""
import TestSConsMSVS
+import sys
+
test = TestSConsMSVS.TestSConsMSVS()
+if sys.platform != 'win32':
+ msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
+ test.skip_test(msg)
+
# Make the test infrastructure think we have this version of MSVS installed.
test._msvs_versions = ['8.0']