Skip to content
Permalink
Browse files
Add JSC test results in json format to a buildbot log
https://bugs.webkit.org/show_bug.cgi?id=156920

Patch by Srinivasan Vijayaraghavan <svijayaraghavan@apple.com> on 2016-04-22
Reviewed by Alexey Proskuryakov.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunJavaScriptCoreTests):
Add runtime flag to output json into buildbot
* Scripts/run-javascriptcore-tests:
(runJSCStressTests):
Change key names and remove redundant count key

Canonical link: https://commits.webkit.org/175040@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Srinivasan Vijayaraghavan authored and webkit-commit-queue committed Apr 22, 2016
1 parent e7351fa commit 2199292b3fda6c9eaaef3ce68494fa561f19373f
Showing with 20 additions and 5 deletions.
  1. +5 −3 Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg
  2. +14 −0 Tools/ChangeLog
  3. +1 −2 Tools/Scripts/run-javascriptcore-tests
@@ -44,7 +44,7 @@ authz = Authz(

c['status'] = []
c['status'].append(html.WebStatus(http_port=8710,
revlink="https://trac.webkit.org/changeset/%s",
revlink="https://trac.webkit.org/changeset/%s",
changecommentlink=(r"(https://bugs\.webkit\.org/show_bug\.cgi\?id=|webkit\.org/b/)(\d+)", r"https://bugs.webkit.org/show_bug.cgi?id=\2"),
authz=authz))

@@ -228,7 +228,7 @@ class CompileWebKit(shell.Compile):

def createSummary(self, log):
platform = self.getProperty('platform')
if platform.startswith('mac'):
if platform.startswith('mac'):
warnings = []
errors = []
sio = cStringIO.StringIO(log.getText())
@@ -298,8 +298,10 @@ class RunJavaScriptCoreTests(TestWithFailureCount):
name = "jscore-test"
description = ["jscore-tests running"]
descriptionDone = ["jscore-tests"]
command = ["perl", "./Tools/Scripts/run-javascriptcore-tests", "--no-build", WithProperties("--%(configuration)s")]
_jsonFileName = "jsc_test_failures.json"
command = ["perl", "./Tools/Scripts/run-javascriptcore-tests", "--no-build", WithProperties("--%(configuration)s", "--json-output=%(_jsonFileName)s")]
failedTestsFormatString = "%d JSC test%s failed"
logfiles = {"json": _jsonFileName}

def start(self):
appendCustomBuildFlags(self, self.getProperty('platform'), self.getProperty('fullPlatform'))
@@ -1,3 +1,17 @@
2016-04-22 Srinivasan Vijayaraghavan <svijayaraghavan@apple.com>

Add JSC test results in json format to a buildbot log
https://bugs.webkit.org/show_bug.cgi?id=156920

Reviewed by Alexey Proskuryakov.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunJavaScriptCoreTests):
Add runtime flag to output json into buildbot
* Scripts/run-javascriptcore-tests:
(runJSCStressTests):
Change key names and remove redundant count key

2016-04-22 Ryan Haddad <ryanhaddad@apple.com>

Update expected result for WKPreferencesGetOfflineWebApplicationCacheEnabled after r199854
@@ -332,8 +332,7 @@ sub runJSCStressTests

if (defined($jsonFileName)) {
my %jsonData = (
"numJSCStressFailures" => $numJSCStressFailures,
"jscStressFailList" => \@jscStressFailList,
"failures" => \@jscStressFailList,
);

open(my $fileHandler, ">", $jsonFileName) or die;

0 comments on commit 2199292

Please sign in to comment.