Title: [161461] trunk/Tools
Revision
161461
Author
[email protected]
Date
2014-01-07 16:04:27 -0800 (Tue, 07 Jan 2014)

Log Message

Add buildbot infrasctructure for building and testing JSC cloop
https://bugs.webkit.org/show_bug.cgi?id=126604

Reviewed by Geoffrey Garen.

* BuildSlaveSupport/build.webkit.org-config/config.json:
* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(CompileCLOOP):
(RunCLOOPTests):
(RunCLOOPTests.countFailures):
(BuildAndTestCLOOP):

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json (161460 => 161461)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json	2014-01-07 23:46:26 UTC (rev 161460)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json	2014-01-08 00:04:27 UTC (rev 161461)
@@ -20,6 +20,7 @@
                     { "name": "apple-mini-142", "platform": "mac-mavericks"},
                     { "name": "apple-mini-178", "platform": "mac-mavericks"},
                     { "name": "apple-mini-179", "platform": "mac-mavericks"},
+                    { "name": "apple-mini-180", "platform": "mac-mavericks"},
                     { "name": "apple-mini-211", "platform": "mac-mavericks" },
                     { "name": "apple-mini-212", "platform": "mac-mavericks" },
                     { "name": "apple-mini-213", "platform": "mac-mavericks" },
@@ -92,6 +93,10 @@
                       "platform": "mac-mavericks", "configuration": "debug", "architectures": ["x86_64"],
                       "slavenames": ["apple-mini-142", "apple-mini-211"]
                     },
+                    { "name": "Apple Mavericks CLOOP (BuildAndTest)", "type": "BuildAndTestCLOOP", "builddir": "mavericks-debug",
+                      "platform": "mac-mavericks", "configuration": "debug", "architectures": ["x86_64"],
+                      "slavenames": ["apple-mini-180"]
+                    },
                     { "name": "Apple Mavericks Release (Build)", "type": "Build", "builddir": "mavericks-release",
                       "platform": "mac-mavericks", "configuration": "release", "architectures": ["x86_64"],
                       "triggers": ["mavericks-release-tests-wk1", "mavericks-release-tests-wk2", "mavericks-release-perf"],

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg (161460 => 161461)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg	2014-01-07 23:46:26 UTC (rev 161460)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg	2014-01-08 00:04:27 UTC (rev 161461)
@@ -225,6 +225,10 @@
                 self.addCompleteLog('errors', "".join(errors))
 
 
+class CompileCLOOP(CompileWebKit):
+    command = ["perl", "./Tools/Scripts/build-jsc", "--cloop", WithProperties("--%(configuration)s")]
+
+
 class CompileWebKit1Only(CompileWebKit):
     command = ["perl", "./Tools/Scripts/build-webkit", "--no-webkit2", WithProperties("--%(configuration)s")]
 
@@ -552,6 +556,25 @@
         return 0
 
 
+class RunCLOOPTests(TestWithFailureCount):
+    name = "webkit-jsc-cloop-test"
+    description = ["cloop-tests running"]
+    descriptionDone = ["cloop-tests"]
+    command = ["perl", "./Tools/Scripts/run-_javascript_core-tests", "--cloop", "--no-build", "--no-jsc-stress", WithProperties("--%(configuration)s")]
+    failedTestsFormatString = "%d regressions found."
+
+    def countFailures(self, cmd):
+        logText = cmd.logs['stdio'].getText()
+        # We're looking for the line that looks like this: 0 regressions found.\n0 tests fixed.
+        regex = re.compile(r'(?P<count>\d+) regressions found.')
+        for line in logText.splitlines():
+            match = regex.match(line)
+            if not match:
+                continue
+            return int(match.group('count'))
+        return 0
+
+
 class RunBindingsTests(shell.Test):
     name = "bindings-generation-tests"
     description = ["bindings-tests running"]
@@ -815,6 +838,10 @@
             self.addStep(UploadBuiltProduct())
             self.addStep(trigger.Trigger(schedulerNames=triggers))
 
+class BuildAndTestCLOOP(BuildAndTestFactory):
+    CompileClass = CompileCLOOP
+    LayoutTestClass = RunCLOOPTests
+
 class BuildAndTestWebKit2Factory(BuildAndTestFactory):
     CompileClass = CompileWebKit
     LayoutTestClass = RunWebKit2Tests

Modified: trunk/Tools/ChangeLog (161460 => 161461)


--- trunk/Tools/ChangeLog	2014-01-07 23:46:26 UTC (rev 161460)
+++ trunk/Tools/ChangeLog	2014-01-08 00:04:27 UTC (rev 161461)
@@ -1,3 +1,17 @@
+2014-01-07  Lucas Forschler  <[email protected]>
+
+        Add buildbot infrasctructure for building and testing JSC cloop
+        https://bugs.webkit.org/show_bug.cgi?id=126604
+
+        Reviewed by Geoffrey Garen.
+
+        * BuildSlaveSupport/build.webkit.org-config/config.json:
+        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
+        (CompileCLOOP):
+        (RunCLOOPTests):
+        (RunCLOOPTests.countFailures):
+        (BuildAndTestCLOOP):
+
 2014-01-07  Brian Burg  <[email protected]>
 
         Unreviewed. Add myself as a committer.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to