summaryrefslogtreecommitdiffstats
path: root/test/MSVS/vs-7.0-files.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2010-06-04 00:36:27 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2010-06-04 00:36:27 (GMT)
commit7aa9de00000a3bba9746c18d46bf79c4ca1f69f2 (patch)
tree977b5906acce6ca7cbf8ada6da18689a85eb7104 /test/MSVS/vs-7.0-files.py
parent3fa801df526cd6507c285e1b9a26ba8b7422ae45 (diff)
downloadSCons-7aa9de00000a3bba9746c18d46bf79c4ca1f69f2.zip
SCons-7aa9de00000a3bba9746c18d46bf79c4ca1f69f2.tar.gz
SCons-7aa9de00000a3bba9746c18d46bf79c4ca1f69f2.tar.bz2
Fix failing tests on macosx
Diffstat (limited to 'test/MSVS/vs-7.0-files.py')
-rw-r--r--test/MSVS/vs-7.0-files.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MSVS/vs-7.0-files.py b/test/MSVS/vs-7.0-files.py
index 46fe4db..d63b3c8 100644
--- a/test/MSVS/vs-7.0-files.py
+++ b/test/MSVS/vs-7.0-files.py
@@ -30,11 +30,17 @@ solution (.sln) files that look correct.
"""
import os
+import sys
+
import TestSConsMSVS
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']