summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/MSVC/batch-longlines.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MSVC/batch-longlines.py b/test/MSVC/batch-longlines.py
index 96fd39a7..5a042952 100644
--- a/test/MSVC/batch-longlines.py
+++ b/test/MSVC/batch-longlines.py
@@ -30,10 +30,15 @@ Verify operation of Visual C/C++ batch builds with long lines.
Only runs on Windows.
"""
+import sys
import TestSCons
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)
+
_python_ = TestSCons._python_
for i in xrange(1,200):