summaryrefslogtreecommitdiffstats
path: root/test/Win32
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2012-12-22 11:41:34 (GMT)
committerDirk Baechle <dl9obn@darc.de>2012-12-22 11:41:34 (GMT)
commit239a4bf92af5eb85ab9322610f46d0f6798f4d4b (patch)
treee6b605a6107af094133c618053090973e9e7cea8 /test/Win32
parent66e6ceeca3bfa6af0a367bf57dccb8a591e2a82f (diff)
downloadSCons-239a4bf92af5eb85ab9322610f46d0f6798f4d4b.zip
SCons-239a4bf92af5eb85ab9322610f46d0f6798f4d4b.tar.gz
SCons-239a4bf92af5eb85ab9322610f46d0f6798f4d4b.tar.bz2
- moved check for an installed MSVC toolchain into its own function in TestSCons
Diffstat (limited to 'test/Win32')
-rw-r--r--test/Win32/win32pathmadness.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/Win32/win32pathmadness.py b/test/Win32/win32pathmadness.py
index fe6373d..925a323 100644
--- a/test/Win32/win32pathmadness.py
+++ b/test/Win32/win32pathmadness.py
@@ -31,20 +31,12 @@ inconsistent about which case is used for the drive letter.
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestSCons
-import sys
import TestCmd
import os.path
test = TestSCons.TestSCons(match=TestCmd.match_re)
-if sys.platform != 'win32':
- msg = "Skipping Windows path tests 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.subdir('src', 'build', 'include', 'src2')