diff options
Diffstat (limited to 'test/MSVC/msvc.py')
-rw-r--r-- | test/MSVC/msvc.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/test/MSVC/msvc.py b/test/MSVC/msvc.py index d98ffbe..c68fb45 100644 --- a/test/MSVC/msvc.py +++ b/test/MSVC/msvc.py @@ -29,21 +29,13 @@ Verify basic invocation of Microsoft Visual C/C++, including use of a precompiled header with the $CCFLAGS variable. """ -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 the basics |