diff options
Diffstat (limited to 'test/MSVC/multiple-pdb.py')
-rw-r--r-- | test/MSVC/multiple-pdb.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/test/MSVC/multiple-pdb.py b/test/MSVC/multiple-pdb.py index 8e86639..78805e3 100644 --- a/test/MSVC/multiple-pdb.py +++ b/test/MSVC/multiple-pdb.py @@ -33,22 +33,13 @@ $TARGET variable (and implicitly $SOURCE), using the original specified list(s). """ -import sys - import TestSCons _exe = TestSCons._exe test = TestSCons.TestSCons() -if sys.platform != 'win32': - 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.skip_if_not_msvc() test.write('SConstruct', """\ env = Environment(PDB = '${TARGET.base}.pdb') |