Title: [148745] trunk/Tools
Revision
148745
Author
[email protected]
Date
2013-04-19 07:53:48 -0700 (Fri, 19 Apr 2013)

Log Message

[GTK] Make the 32 bits bot only build and run API tests
https://bugs.webkit.org/show_bug.cgi?id=113532

Reviewed by Martin Robinson.

* BuildSlaveSupport/build.webkit.org-config/config.json: make the 32 bits bot use the new BuildAndAPITest type
* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(BuildAndAPITestFactory): new factory that builds and runs API tests, only used by the GTK+ 32 bits bot at the
moment;
(BuildAndAPITestFactory.__init__): add API tests step for platforms that have it.

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json (148744 => 148745)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json	2013-04-19 14:32:51 UTC (rev 148744)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json	2013-04-19 14:53:48 UTC (rev 148745)
@@ -148,7 +148,7 @@
                       "slavenames": ["apple-windows-3", "apple-windows-4"]
                     },
                     {
-                      "name": "GTK Linux 32-bit Release", "type": "BuildAndTest", "builddir": "gtk-linux-32-release",
+                      "name": "GTK Linux 32-bit Release", "type": "BuildAndAPITest", "builddir": "gtk-linux-32-release",
                       "platform": "gtk", "configuration": "release", "architectures": ["i386"],
                       "slavenames": ["gtk-linux-slave-1"]
                     },

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg (148744 => 148745)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg	2013-04-19 14:32:51 UTC (rev 148744)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg	2013-04-19 14:53:48 UTC (rev 148745)
@@ -738,6 +738,21 @@
             self.addStep(UploadBuiltProduct())
             self.addStep(trigger.Trigger(schedulerNames=triggers))
 
+class BuildAndAPITestFactory(Factory):
+    def __init__(self, platform, configuration, architectures, triggers=None, SVNMirror=None):
+        Factory.__init__(self, platform, configuration, architectures, True, SVNMirror)
+        self.addStep(CompileWebKit())
+        if triggers:
+            self.addStep(ArchiveBuiltProduct())
+            self.addStep(UploadBuiltProduct())
+            self.addStep(trigger.Trigger(schedulerNames=triggers))
+        if platform == "efl":
+            self.addStep(RunEflAPITests)
+        if platform == "gtk":
+            self.addStep(RunGtkAPITests())
+        if platform.startswith("qt"):
+            self.addStep(RunQtAPITests)
+
 def unitTestsSupported(configuration, platform):
     if platform.startswith('mac') and configuration == "release":
         return False; # https://bugs.webkit.org/show_bug.cgi?id=82652

Modified: trunk/Tools/ChangeLog (148744 => 148745)


--- trunk/Tools/ChangeLog	2013-04-19 14:32:51 UTC (rev 148744)
+++ trunk/Tools/ChangeLog	2013-04-19 14:53:48 UTC (rev 148745)
@@ -1,3 +1,16 @@
+2013-04-17  Gustavo Noronha Silva  <[email protected]>
+
+        [GTK] Make the 32 bits bot only build and run API tests
+        https://bugs.webkit.org/show_bug.cgi?id=113532
+
+        Reviewed by Martin Robinson.
+
+        * BuildSlaveSupport/build.webkit.org-config/config.json: make the 32 bits bot use the new BuildAndAPITest type
+        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
+        (BuildAndAPITestFactory): new factory that builds and runs API tests, only used by the GTK+ 32 bits bot at the
+        moment;
+        (BuildAndAPITestFactory.__init__): add API tests step for platforms that have it.
+
 2013-04-19  Andras Becsi  <[email protected]>
 
         [Qt] Only use thin archives on Linux
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to