summaryrefslogtreecommitdiffstats
path: root/test/MSVC/PCHSTOP-errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVC/PCHSTOP-errors.py')
-rw-r--r--test/MSVC/PCHSTOP-errors.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/MSVC/PCHSTOP-errors.py b/test/MSVC/PCHSTOP-errors.py
index d3ffc70..aa14a3f 100644
--- a/test/MSVC/PCHSTOP-errors.py
+++ b/test/MSVC/PCHSTOP-errors.py
@@ -29,21 +29,12 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
"""
import re
-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()
SConstruct_path = test.workpath('SConstruct')