summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2011-05-03 01:27:04 +0000
committerGary Oberbrunner <garyo@oberbrunner.com>2011-05-03 01:27:04 +0000
commit372471e4d30a5d7427aa4976342c2761e00e7334 (patch)
tree85fe636f981bc6ce54d0d1aa14949f3c54328d9a
parent8156a5a6e3fcfea6b97ae5ad90693ed372c3eb21 (diff)
downloadscons-372471e4d30a5d7427aa4976342c2761e00e7334.tar.gz
Skip MSVC/batch-longlines test on non-Windows platforms.
-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):