Title: [200253] trunk/Tools
- Revision
- 200253
- Author
- commit-qu...@webkit.org
- Date
- 2016-04-29 11:23:40 -0700 (Fri, 29 Apr 2016)
Log Message
Add JSC test results in JSON format to a Buildbot log.
https://bugs.webkit.org/show_bug.cgi?id=156920
Patch by Srinivasan Vijayaraghavan <svijayaragha...@apple.com> on 2016-04-29
Reviewed by Daniel Bates.
Generate JSON results for JSC tests and upload them to the master
using Buildbot's logfiles machinery.
* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunJavaScriptCoreTests): Use --json-output option when invoking the
run-_javascript_core-tests Perl script, and expose this JSON output as a
Buildbot log.
* Scripts/run-_javascript_core-tests:
(runJSCStressTests): Change key names and remove redundant count key.
Modified Paths
Diff
Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg (200252 => 200253)
--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg 2016-04-29 17:44:25 UTC (rev 200252)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg 2016-04-29 18:23:40 UTC (rev 200253)
@@ -298,8 +298,10 @@
name = "jscore-test"
description = ["jscore-tests running"]
descriptionDone = ["jscore-tests"]
- command = ["perl", "./Tools/Scripts/run-_javascript_core-tests", "--no-build", WithProperties("--%(configuration)s")]
+ jsonFileName = "jsc_results.json"
+ command = ["perl", "./Tools/Scripts/run-_javascript_core-tests", "--no-build", WithProperties("--%(configuration)s", "--json-output={0}".format(jsonFileName))]
failedTestsFormatString = "%d JSC test%s failed"
+ logfiles = {"json": jsonFileName}
def start(self):
appendCustomBuildFlags(self, self.getProperty('platform'), self.getProperty('fullPlatform'))
Modified: trunk/Tools/ChangeLog (200252 => 200253)
--- trunk/Tools/ChangeLog 2016-04-29 17:44:25 UTC (rev 200252)
+++ trunk/Tools/ChangeLog 2016-04-29 18:23:40 UTC (rev 200253)
@@ -1,3 +1,20 @@
+2016-04-29 Srinivasan Vijayaraghavan <svijayaragha...@apple.com>
+
+ Add JSC test results in JSON format to a Buildbot log.
+ https://bugs.webkit.org/show_bug.cgi?id=156920
+
+ Reviewed by Daniel Bates.
+
+ Generate JSON results for JSC tests and upload them to the master
+ using Buildbot's logfiles machinery.
+
+ * BuildSlaveSupport/build.webkit.org-config/master.cfg:
+ (RunJavaScriptCoreTests): Use --json-output option when invoking the
+ run-_javascript_core-tests Perl script, and expose this JSON output as a
+ Buildbot log.
+ * Scripts/run-_javascript_core-tests:
+ (runJSCStressTests): Change key names and remove redundant count key.
+
2016-04-29 Joanmarie Diggs <jdi...@igalia.com>
[ATK] Expose the value of aria-roledescription via an AtkObject attribute
Modified: trunk/Tools/Scripts/run-_javascript_core-tests (200252 => 200253)
--- trunk/Tools/Scripts/run-_javascript_core-tests 2016-04-29 17:44:25 UTC (rev 200252)
+++ trunk/Tools/Scripts/run-_javascript_core-tests 2016-04-29 18:23:40 UTC (rev 200253)
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-# Copyright (C) 2005, 2013-2015 Apple Inc. All rights reserved.
+# Copyright (C) 2005, 2013-2016 Apple Inc. All rights reserved.
# Copyright (C) 2007 Eric Seidel <e...@webkit.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -332,8 +332,7 @@
if (defined($jsonFileName)) {
my %jsonData = (
- "numJSCStressFailures" => $numJSCStressFailures,
- "jscStressFailList" => \@jscStressFailList,
+ "failures" => \@jscStressFailList,
);
open(my $fileHandler, ">", $jsonFileName) or die;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes