diff options
author | Dirk Baechle <dl9obn@darc.de> | 2012-12-22 12:41:34 +0100 |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2012-12-22 12:41:34 +0100 |
commit | 48395483d853df4b81c50553b3a4de3a023d6cee (patch) | |
tree | e6b605a6107af094133c618053090973e9e7cea8 /test/Win32 | |
parent | 6cede4390b5abb1424e9b79f159cb9567f28bd9c (diff) | |
download | scons-48395483d853df4b81c50553b3a4de3a023d6cee.tar.gz |
- moved check for an installed MSVC toolchain into its own function in TestSCons
Diffstat (limited to 'test/Win32')
-rw-r--r-- | test/Win32/win32pathmadness.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/test/Win32/win32pathmadness.py b/test/Win32/win32pathmadness.py index fe6373dd..925a323b 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') |