summaryrefslogtreecommitdiffstats
path: root/test/IDL
diff options
context:
space:
mode:
Diffstat (limited to 'test/IDL')
-rw-r--r--test/IDL/midl.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/IDL/midl.py b/test/IDL/midl.py
index f5c864f..0322483 100644
--- a/test/IDL/midl.py
+++ b/test/IDL/midl.py
@@ -35,6 +35,11 @@ if sys.platform != 'win32':
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