diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-05-03 01:27:04 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2011-05-03 01:27:04 (GMT) |
commit | 7351080bc88e487771b7ddeae70a899c61b70fb1 (patch) | |
tree | 85fe636f981bc6ce54d0d1aa14949f3c54328d9a /test | |
parent | 808bf0a293ebf71b53035d4c08842e5efcc90ae7 (diff) | |
download | SCons-7351080bc88e487771b7ddeae70a899c61b70fb1.zip SCons-7351080bc88e487771b7ddeae70a899c61b70fb1.tar.gz SCons-7351080bc88e487771b7ddeae70a899c61b70fb1.tar.bz2 |
Skip MSVC/batch-longlines test on non-Windows platforms.
Diffstat (limited to 'test')
-rw-r--r-- | test/MSVC/batch-longlines.py | 5 |
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):
|