descriptionDone = ["API tests"]
command = ["python", "./Tools/Scripts/run-qtwebkit-tests",
"--output-file=qt-unit-tests.html", "--do-not-open-results", "--timeout=120",
- WithProperties("WebKitBuild/%(configuration_pretty)s/Source/WebKit/qt/tests/")]
-
- def start(self):
- self.setProperty("configuration_pretty", self.getProperty("configuration").title())
- return shell.Test.start(self)
+ WithProperties("WebKitBuild/%(configuration_pretty)s/Source/WebKit/qt/tests/", configuration_pretty=lambda build: build.getProperty("configuration").title())
+ ]
def commandComplete(self, cmd):
shell.Test.commandComplete(self, cmd)
self.addStep(self.ExtractTestResultsClass)
if platform == "gtk":
self.addStep(RunGtkAPITests)
-# Qt API test buildstep throws exception after buildmaster update
-# https://bugs.webkit.org/show_bug.cgi?id=80249
-# if platform == "qt":
-# self.addStep(RunQtAPITests)
+ if platform == "qt":
+ self.addStep(RunQtAPITests)
class BuildAndTestLeaksFactory(BuildAndTestFactory):
TestClass = RunWebKitLeakTests
+2012-03-06 Kristóf Kosztyó <kkristof@inf.u-szeged.hu>
+
+ Qt API test buildstep throws exception after buildmaster update
+ https://bugs.webkit.org/show_bug.cgi?id=80249
+
+ This patch based on Peter Gal's work.
+
+ Reviewed by Csaba Osztrogonác.
+
+ * BuildSlaveSupport/build.webkit.org-config/master.cfg:
+ (RunQtAPITests):
+ (BuildAndTestFactory.__init__): Enable API tests on the Qt platform again.
+
2012-03-06 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
[Qt] Use correct define names for HAVE(FOO) style optional dependencies