2007-01-20 Mark Rowe <mrowe@apple.com>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Jan 2007 09:14:20 +0000 (09:14 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 20 Jan 2007 09:14:20 +0000 (09:14 +0000)
        Reviewed by Maciej.

        * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
        catch single regressions, and don't generate tests results for new tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19000 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/BuildSlaveSupport/build.webkit.org-config/webkit/steps.py
WebKitTools/ChangeLog

index 6e58817b0d77ee4b3d76b67168b44656e89a5305..51a5fff91958f560d9106f67f19b74e5d815c368 100644 (file)
@@ -23,8 +23,8 @@ class LayoutTest(Test):
     name = "layout-test"
     description = ["layout-tests running"]
     descriptionDone = ["layout-tests"]
     name = "layout-test"
     description = ["layout-tests running"]
     descriptionDone = ["layout-tests"]
-    command = ["./WebKitTools/Scripts/run-webkit-tests", "--no-launch-safari", "--results-directory", "layout-test-results"]
-        
+    command = ["./WebKitTools/Scripts/run-webkit-tests", "--no-launch-safari", "--no-new-test-results", "--results-directory", "layout-test-results"]
+
     def commandComplete(self, cmd):
         Test.commandComplete(self, cmd)
         
     def commandComplete(self, cmd):
         Test.commandComplete(self, cmd)
         
@@ -50,12 +50,13 @@ class JavaScriptCoreTest(Test):
     description = ["jscore-tests running"]
     descriptionDone = ["jscore-tests"]
     command = ["./WebKitTools/Scripts/run-javascriptcore-tests"]
     description = ["jscore-tests running"]
     descriptionDone = ["jscore-tests"]
     command = ["./WebKitTools/Scripts/run-javascriptcore-tests"]
+    logfiles = {'results': 'JavaScriptCore/tests/mozilla/actual.html'}
 
     def commandComplete(self, cmd):
         Test.commandComplete(self, cmd)
 
         logText = cmd.logs['stdio'].getText()
 
     def commandComplete(self, cmd):
         Test.commandComplete(self, cmd)
 
         logText = cmd.logs['stdio'].getText()
-        statusLines = [line for line in logText.splitlines() if line.find('regressions found.') >= 0]
+        statusLines = [line for line in logText.splitlines() if line.find('regression') >= 0 and line.find(' found.') >= 0]
         if statusLines and statusLines[0].split()[0] != '0':
             self.regressionLine = statusLines[0]
         else:
         if statusLines and statusLines[0].split()[0] != '0':
             self.regressionLine = statusLines[0]
         else:
index 4418a3c357c133ac0a07ea5122681011321ef186..1ca67263228ddf8d9258bbc2bf9bbabd3f2954f0 100644 (file)
@@ -1,3 +1,10 @@
+2007-01-20  Mark Rowe  <mrowe@apple.com>
+
+        Reviewed by Maciej.
+
+        * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
+        catch single regressions, and don't generate tests results for new tests.
+
 2007-01-20  Adam Roben  <aroben@apple.com>
 
         Rubberstamped by Maciej.
 2007-01-20  Adam Roben  <aroben@apple.com>
 
         Rubberstamped by Maciej.