summaryrefslogtreecommitdiffstats
path: root/test/MSVC/hierarchical.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVC/hierarchical.py')
-rw-r--r--test/MSVC/hierarchical.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/MSVC/hierarchical.py b/test/MSVC/hierarchical.py
index 72e5813..0b19483 100644
--- a/test/MSVC/hierarchical.py
+++ b/test/MSVC/hierarchical.py
@@ -28,21 +28,11 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Verify use of Visual Studio with a hierarchical build.
"""
-import sys
-
import TestSCons
test = TestSCons.TestSCons(match = TestSCons.match_re)
-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)
-
+test.skip_if_not_msvc()
test.subdir('src', 'build', 'out')