summaryrefslogtreecommitdiffstats
path: root/test/MSVS/vs-7.0-clean.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVS/vs-7.0-clean.py')
-rw-r--r--test/MSVS/vs-7.0-clean.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MSVS/vs-7.0-clean.py b/test/MSVS/vs-7.0-clean.py
index 8487ea9..a646218 100644
--- a/test/MSVS/vs-7.0-clean.py
+++ b/test/MSVS/vs-7.0-clean.py
@@ -30,9 +30,15 @@ project (.vcproj) and solution (.sln) files.
"""
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 = ['7.0']