summaryrefslogtreecommitdiffstats
path: root/test/MSVC
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2011-05-03 01:27:04 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2011-05-03 01:27:04 (GMT)
commit7351080bc88e487771b7ddeae70a899c61b70fb1 (patch)
tree85fe636f981bc6ce54d0d1aa14949f3c54328d9a /test/MSVC
parent808bf0a293ebf71b53035d4c08842e5efcc90ae7 (diff)
downloadSCons-7351080bc88e487771b7ddeae70a899c61b70fb1.zip
SCons-7351080bc88e487771b7ddeae70a899c61b70fb1.tar.gz
SCons-7351080bc88e487771b7ddeae70a899c61b70fb1.tar.bz2
Skip MSVC/batch-longlines test on non-Windows platforms.
Diffstat (limited to 'test/MSVC')
-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 96fd39a..5a04295 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):