summaryrefslogtreecommitdiff
path: root/test/FindSourceFiles.py
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2014-08-21 20:59:35 -0400
committerGary Oberbrunner <garyo@oberbrunner.com>2014-08-21 20:59:35 -0400
commit204f76c13013139c799bfa93c4e9fe6f065aca0b (patch)
treef04bbc9e297aed126b42b78009bdd43fb2dae1e5 /test/FindSourceFiles.py
parent011b491df5f7b11f4f390bcf7fbb464c9c525e43 (diff)
downloadscons-204f76c13013139c799bfa93c4e9fe6f065aca0b.tar.gz
Fixed or skipped tests that fail on Windows.
Mostly just per-test changes, but also made match_re strip out CR (\r) chars at end of lines to make Windows match properly.
Diffstat (limited to 'test/FindSourceFiles.py')
-rw-r--r--test/FindSourceFiles.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/FindSourceFiles.py b/test/FindSourceFiles.py
index 3ba542bd..88b9d7e4 100644
--- a/test/FindSourceFiles.py
+++ b/test/FindSourceFiles.py
@@ -28,12 +28,13 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Test Environment's FindSourceFiles method.
"""
+import sys
import TestSCons
test = TestSCons.TestSCons()
package_format = "src_tarbz2"
-if not test.where_is('tar'):
+if not test.where_is('tar') or sys.platform == 'win32':
if not test.where_is('zip'):
test.skip_test("neither 'tar' nor 'zip' found; skipping test\n")
package_format = "src_zip"