diff options
Diffstat (limited to 'test/MSVC/pch-spaces-subdir.py')
-rw-r--r-- | test/MSVC/pch-spaces-subdir.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MSVC/pch-spaces-subdir.py b/test/MSVC/pch-spaces-subdir.py index 991627f..2b66a55 100644 --- a/test/MSVC/pch-spaces-subdir.py +++ b/test/MSVC/pch-spaces-subdir.py @@ -39,6 +39,11 @@ 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.write('Main.cpp', """\ #include "Precompiled.h" |