Fix Windows test bots after changing to non-cygwin build
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Sep 2015 07:06:33 +0000 (07:06 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Sep 2015 07:06:33 +0000 (07:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=149196

Reviewed by Daniel Bates.

* BuildSlaveSupport/built-product-archive:
(unzipArchive):
Using different versions of python makes what I think is https://bugs.python.org/issue15795
prevent us from executing files from the archive on the test bots.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189851 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/built-product-archive
Tools/ChangeLog

index 027c1fc..94f31d1 100644 (file)
@@ -175,6 +175,8 @@ def unzipArchive(directoryToExtractTo, configuration):
     elif sys.platform == 'win32':
         archive = zipfile.ZipFile(archiveFile, "r")
         archive.extractall(directoryToExtractTo)
+        for filename in archive.namelist()
+            os.chmod(filename, 0555)
         archive.close()
 
     os.unlink(archiveFile)
index 88d0f6e..21d4f93 100644 (file)
@@ -1,3 +1,15 @@
+2015-09-15  Alex Christensen  <achristensen@webkit.org>
+
+        Fix Windows test bots after changing to non-cygwin build
+        https://bugs.webkit.org/show_bug.cgi?id=149196
+
+        Reviewed by Daniel Bates.
+
+        * BuildSlaveSupport/built-product-archive:
+        (unzipArchive):
+        Using different versions of python makes what I think is https://bugs.python.org/issue15795
+        prevent us from executing files from the archive on the test bots.
+
 2015-09-15  Ryosuke Niwa  <rniwa@webkit.org>
 
         Add ShadowRoot interface and Element.prototype.attachShadow