Commits

Gary Oberbrunner committed 931faff

Skip MSVC/batch-longlines test on non-Windows platforms.

Comments (0)

Files changed (1)

test/MSVC/batch-longlines.py

 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):