Source

SCons / test / MSVC / pdb-VariantDir-path.py

Diff from to

test/MSVC/pdb-VariantDir-path.py

     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.subdir('src')
 
 test.write('SConstruct', """\