[test] Turn off certificate verification when downloading test data on windows.
authormachenbach <machenbach@chromium.org>
Tue, 7 Jul 2015 11:42:12 +0000 (04:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Jul 2015 11:42:26 +0000 (11:42 +0000)
BUG=v8:4254
LOG=n
NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true
TBR=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/1220333004

Cr-Commit-Position: refs/heads/master@{#29513}

tools/testrunner/local/utils.py

index 2842b13..cb6c350 100644 (file)
@@ -126,7 +126,7 @@ def URLRetrieve(source, destination):
     try:
       # In python 2.7.6 on windows, urlopen has a problem with redirects.
       # Try using curl instead. Note, this is fixed in 2.7.8.
-      subprocess.check_call(["curl", source, '-L', '-o', destination])
+      subprocess.check_call(["curl", source, '-k', '-L', '-o', destination])
       return
     except:
       # If there's no curl, fall back to urlopen.