1. SCons
  2. Core
  3. SCons

Source

SCons / test / IDL / midl.py

Diff from to

File test/IDL/midl.py

  • Ignore whitespace
     msg = "Skipping 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 the basics