From 7351080bc88e487771b7ddeae70a899c61b70fb1 Mon Sep 17 00:00:00 2001 From: Gary Oberbrunner Date: Tue, 3 May 2011 01:27:04 +0000 Subject: Skip MSVC/batch-longlines test on non-Windows platforms. --- test/MSVC/batch-longlines.py | 5 +++++ 1 file changed, 5 insertions(+) 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): -- cgit v0.12