Performance tester bots should report the number of failing tests
[WebKit-https.git] / Tools / BuildSlaveSupport / build.webkit.org-config / master.cfg
index 1ed72f0e4214670dfc4c4eb64489991ea31db83d..d177c3d13e8992dc6c667e7a0b08628512286dd1 100644 (file)
@@ -671,6 +671,15 @@ class RunAndUploadPerfTests(shell.Test):
        self.setCommand(self.command)
        return shell.Test.start(self)
 
+    def getText(self, cmd, results):
+        return self.getText2(cmd, results)
+
+    def getText2(self, cmd, results):
+        if results != SUCCESS
+            return ["%d perf tests failed" % cmd.rc]
+
+        return [self.name]
+
 
 class RunAndUploadPerfTestsWebKit2(RunAndUploadPerfTests):
     def start(self):