Skip to content
Permalink
Browse files
[WPE] Run unit tests in the bots
https://bugs.webkit.org/show_bug.cgi?id=179910

Reviewed by Michael Catanzaro.

Add a step to run unit tests in WPE test bots.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunGLibAPITests):
(RunGtkAPITests):
(RunWPEAPITests):
(TestFactory.__init__):
(RunGtkAPITests.start): Deleted.
(RunGtkAPITests.commandComplete): Deleted.
(RunGtkAPITests.evaluateCommand): Deleted.
(RunGtkAPITests.getText): Deleted.
(RunGtkAPITests.getText2): Deleted.
* wpe/jhbuild.modules: Upgrade WPEBackend-mesa to fix crashes when running unit tests.

Canonical link: https://commits.webkit.org/195948@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
carlosgcampos committed Nov 21, 2017
1 parent d431ed4 commit 942171461aa57689217b82354b50b41a0cac3103
Showing with 33 additions and 3 deletions.
  1. +11 −2 Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg
  2. +21 −0 Tools/ChangeLog
  3. +1 −1 Tools/wpe/jhbuild.modules
@@ -634,11 +634,10 @@ class RunBuiltinsTests(shell.Test):
command = ["python", "./Tools/Scripts/run-builtins-generator-tests"]


class RunGtkAPITests(shell.Test):
class RunGLibAPITests(shell.Test):
name = "API tests"
description = ["API tests running"]
descriptionDone = ["API tests"]
command = ["python", "./Tools/Scripts/run-gtk-tests", "--verbose", WithProperties("--%(configuration)s")]

def start(self):
additionalArguments = self.getProperty("additionalArguments")
@@ -696,6 +695,14 @@ class RunGtkAPITests(shell.Test):
return [self.name]


class RunGtkAPITests(RunGLibAPITests):
command = ["python", "./Tools/Scripts/run-gtk-tests", "--verbose", WithProperties("--%(configuration)s")]


class RunWPEAPITests(RunGLibAPITests):
command = ["python", "./Tools/Scripts/run-wpe-tests", "--verbose", WithProperties("--%(configuration)s")]


class RunWebKit1Tests(RunWebKitTests):
def start(self):
self.setCommand(self.command + ["--dump-render-tree"])
@@ -929,6 +936,8 @@ class TestFactory(Factory):
self.addStep(ExtractTestResults())
if platform == "gtk":
self.addStep(RunGtkAPITests())
if platform == "wpe":
self.addStep(RunWPEAPITests())


class BuildAndTestFactory(TestFactory):
@@ -1,3 +1,24 @@
2017-11-21 Carlos Garcia Campos <cgarcia@igalia.com>

[WPE] Run unit tests in the bots
https://bugs.webkit.org/show_bug.cgi?id=179910

Reviewed by Michael Catanzaro.

Add a step to run unit tests in WPE test bots.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunGLibAPITests):
(RunGtkAPITests):
(RunWPEAPITests):
(TestFactory.__init__):
(RunGtkAPITests.start): Deleted.
(RunGtkAPITests.commandComplete): Deleted.
(RunGtkAPITests.evaluateCommand): Deleted.
(RunGtkAPITests.getText): Deleted.
(RunGtkAPITests.getText2): Deleted.
* wpe/jhbuild.modules: Upgrade WPEBackend-mesa to fix crashes when running unit tests.

2017-11-21 Tomas Popela <tpopela@redhat.com>

Fix WebKitGTK+ compilation
@@ -182,7 +182,7 @@
<dep package="xkbcommon" />
</dependencies>
<branch repo="github.com" module="WebPlatformForEmbedded/WPEBackend-mesa.git"
tag="ce2a0ad98d1746d5b0fa743121a6ebb148ab92c1" />
tag="8e159832dc55164758f68fad02f52e6ad7c70642" />
</cmake>

<autotools id="libgpg-error" autogen-sh="configure">

0 comments on commit 9421714

Please sign in to comment.