diff options
Diffstat (limited to 'test/MSVC/pch-spaces-subdir.py')
-rw-r--r-- | test/MSVC/pch-spaces-subdir.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/test/MSVC/pch-spaces-subdir.py b/test/MSVC/pch-spaces-subdir.py index 2b66a55..3a65b44 100644 --- a/test/MSVC/pch-spaces-subdir.py +++ b/test/MSVC/pch-spaces-subdir.py @@ -28,21 +28,13 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" Verify PCH works if variant dir has spaces in its name """ -import sys import time 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.write('Main.cpp', """\ #include "Precompiled.h" |