Title: [269945] trunk/Tools
Revision
269945
Author
[email protected]
Date
2020-11-17 22:37:17 -0800 (Tue, 17 Nov 2020)

Log Message

[buildbot] Add buildAndTest bot for WebKitGTK (GTK4)
https://bugs.webkit.org/show_bug.cgi?id=213016

Reviewed by Carlos Alberto Lopez Perez.

Add a new post-commit bot to test WebKitGTK using GTK4 library.

The bot builds WebKitGTK and runs the following test suites: layout-test, api-test
and webdriver-test.

* CISupport/build-webkit-org/config.json:
* CISupport/build-webkit-org/factories.py:
(BuildAndTestAllButJSCFactory):
(BuildAndTestAllButJSCFactory.getProduct):
(BuildAndTestAllButJSCFactory.__init__):
* CISupport/build-webkit-org/steps_unittest.py:

Modified Paths

Diff

Modified: trunk/Tools/CISupport/build-webkit-org/config.json (269944 => 269945)


--- trunk/Tools/CISupport/build-webkit-org/config.json	2020-11-18 06:27:30 UTC (rev 269944)
+++ trunk/Tools/CISupport/build-webkit-org/config.json	2020-11-18 06:37:17 UTC (rev 269945)
@@ -101,6 +101,7 @@
                     { "name": "gtk-linux-bot-15", "platform": "gtk" },
                     { "name": "gtk-linux-bot-16", "platform": "gtk" },
                     { "name": "gtk-linux-bot-17", "platform": "gtk" },
+                    { "name": "gtk-linux-bot-18", "platform": "gtk" },
 
                     { "name": "jsconly-linux-igalia-bot-1", "platform": "jsc-only" },
                     { "name": "jsconly-linux-igalia-bot-2", "platform": "jsc-only" },
@@ -408,6 +409,11 @@
                       "workernames": ["gtk-linux-bot-17"]
                     },
                     {
+                      "name": "GTK-Linux-64-bit-Release-GTK4-Tests", "factory": "BuildAndTestAllButJSCFactory", "builddir": "gtk-linux-64-release-gtk4",
+                      "platform": "gtk", "configuration": "release", "architectures": ["x86_64"],
+                      "workernames": ["gtk-linux-bot-18"]
+                    },
+                    {
                       "name": "WinCairo-64-bit-WKL-Release-Build", "factory": "BuildFactory", "builddir": "wincairo-wkl-release",
                       "platform": "wincairo", "configuration": "release", "architectures": ["x86_64"],
                       "triggers": ["wincairo-wkl-release-tests", "wincairo-jsc-release-tests"],

Modified: trunk/Tools/CISupport/build-webkit-org/factories.py (269944 => 269945)


--- trunk/Tools/CISupport/build-webkit-org/factories.py	2020-11-18 06:27:30 UTC (rev 269944)
+++ trunk/Tools/CISupport/build-webkit-org/factories.py	2020-11-18 06:37:17 UTC (rev 269945)
@@ -174,6 +174,14 @@
     JSCTestClass = None
 
 
+class BuildAndTestAllButJSCFactory(BuildAndTestFactory):
+    JSCTestClass = None
+
+    def __init__(self, platform, configuration, architectures, triggers=None, additionalArguments=None, device_model=None, **kwargs):
+        BuildAndTestFactory.__init__(self, platform, configuration, architectures, additionalArguments, device_model, **kwargs)
+        self.addStep(RunWebDriverTests())
+
+
 class BuildAndGenerateJSCBundleFactory(BuildFactory):
     ShouldRunJSCBundleStep = True
 

Modified: trunk/Tools/CISupport/build-webkit-org/steps_unittest.py (269944 => 269945)


--- trunk/Tools/CISupport/build-webkit-org/steps_unittest.py	2020-11-18 06:27:30 UTC (rev 269944)
+++ trunk/Tools/CISupport/build-webkit-org/steps_unittest.py	2020-11-18 06:37:17 UTC (rev 269945)
@@ -583,6 +583,7 @@
     'GTK-Linux-64-bit-Release-Wayland-Tests': ['configure-build', 'svn', 'kill-old-processes', 'delete-WebKitBuild-directory', 'delete-stale-build-files', 'jhbuild', 'download-built-product', 'extract-built-product', 'layout-test', 'webkitpy-test', 'webkitperl-test', 'bindings-generation-tests', 'builtins-generator-tests', 'dashboard-tests', 'archive-test-results', 'upload', 'extract-test-results', 'API-tests', 'webdriver-test'],
     'GTK-Linux-64-bit-Release-Ubuntu-LTS-Build': ['configure-build', 'svn', 'kill-old-processes', 'delete-WebKitBuild-directory', 'delete-stale-build-files', 'compile-webkit'],
     'GTK-Linux-64-bit-Release-Debian-Stable-Build': ['configure-build', 'svn', 'kill-old-processes', 'delete-WebKitBuild-directory', 'delete-stale-build-files', 'compile-webkit'],
+    'GTK-Linux-64-bit-Release-GTK4-Tests': ['configure-build', 'svn', 'kill-old-processes', 'delete-WebKitBuild-directory', 'delete-stale-build-files', 'jhbuild', 'compile-webkit', 'layout-test', 'webkitpy-test', 'webkitperl-test', 'bindings-generation-tests', 'builtins-generator-tests', 'dashboard-tests', 'archive-test-results', 'upload', 'extract-test-results', 'API-tests', 'webdriver-test'],
 
     'PlayStation-Debug-Build': ['configure-build', 'svn', 'kill-old-processes', 'delete-WebKitBuild-directory', 'delete-stale-build-files', 'compile-webkit'],
     'PlayStation-Release-Build': ['configure-build', 'svn', 'kill-old-processes', 'delete-WebKitBuild-directory', 'delete-stale-build-files', 'compile-webkit'],

Modified: trunk/Tools/ChangeLog (269944 => 269945)


--- trunk/Tools/ChangeLog	2020-11-18 06:27:30 UTC (rev 269944)
+++ trunk/Tools/ChangeLog	2020-11-18 06:37:17 UTC (rev 269945)
@@ -1,3 +1,22 @@
+2020-11-17  Diego Pino Garcia  <[email protected]>
+
+        [buildbot] Add buildAndTest bot for WebKitGTK (GTK4)
+        https://bugs.webkit.org/show_bug.cgi?id=213016
+
+        Reviewed by Carlos Alberto Lopez Perez.
+
+        Add a new post-commit bot to test WebKitGTK using GTK4 library.
+
+        The bot builds WebKitGTK and runs the following test suites: layout-test, api-test
+        and webdriver-test.
+
+        * CISupport/build-webkit-org/config.json:
+        * CISupport/build-webkit-org/factories.py:
+        (BuildAndTestAllButJSCFactory):
+        (BuildAndTestAllButJSCFactory.getProduct):
+        (BuildAndTestAllButJSCFactory.__init__):
+        * CISupport/build-webkit-org/steps_unittest.py:
+
 2020-11-17  Matt Lewis  <[email protected]>
 
         Big Sur testers fail to find proper archives due to architecture keys.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to