Implement test-result-archive for GTK.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Apr 2009 21:54:57 +0000 (21:54 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Apr 2009 21:54:57 +0000 (21:54 +0000)
* BuildSlaveSupport/test-result-archive:

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

WebKitTools/BuildSlaveSupport/test-result-archive
WebKitTools/ChangeLog

index c91867b..d393646 100644 (file)
@@ -46,7 +46,7 @@ def main():
     return archiveTestResults(options.configuration, options.platform)
 
 def archiveTestResults(configuration, platform):
-    assert platform in ('mac', 'win')
+    assert platform in ('mac', 'win', 'gtk')
 
     try:
         os.unlink(archiveFile)
@@ -57,7 +57,7 @@ def archiveTestResults(configuration, platform):
     if platform == 'mac':
         if subprocess.call(["ditto", "-c", "-k", "--sequesterRsrc", layoutTestResultsDir, archiveFile]):
             return 1
-    elif platform == 'win':
+    elif platform in ('win', 'gtk'):
         if subprocess.call(["zip", "-r", archiveFile, "."], cwd=layoutTestResultsDir):
             return 1
 
index a270dae..8a69618 100644 (file)
@@ -1,3 +1,9 @@
+2009-04-29  Mark Rowe  <mrowe@apple.com>
+
+        Implement test-result-archive for GTK.
+
+        * BuildSlaveSupport/test-result-archive:
+
 2009-04-28  Pierre d'Herbemont  <pdherbemont@apple.com>
 
         Reviewed by David Kilzer.