summaryrefslogtreecommitdiffstats
path: root/test/MSVC/pdb-VariantDir-path.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/MSVC/pdb-VariantDir-path.py')
-rw-r--r--test/MSVC/pdb-VariantDir-path.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/MSVC/pdb-VariantDir-path.py b/test/MSVC/pdb-VariantDir-path.py
index 796c36e..838487c 100644
--- a/test/MSVC/pdb-VariantDir-path.py
+++ b/test/MSVC/pdb-VariantDir-path.py
@@ -28,17 +28,13 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Verify that .pdb files get put in a variant_dir correctly.
"""
-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)
+test.skip_if_not_msvc()
test.subdir('src')