Changeset 200253 in webkit


Ignore:
Timestamp:
Apr 29, 2016 11:23:40 AM (8 years ago)
Author:
commit-queue@webkit.org
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 <svijayaraghavan@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-javascriptcore-tests Perl script, and expose this JSON output as a
Buildbot log.

  • Scripts/run-javascriptcore-tests:

(runJSCStressTests): Change key names and remove redundant count key.

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg

    r200040 r200253  
    299299    description = ["jscore-tests running"]
    300300    descriptionDone = ["jscore-tests"]
    301     command = ["perl", "./Tools/Scripts/run-javascriptcore-tests", "--no-build", WithProperties("--%(configuration)s")]
     301    jsonFileName = "jsc_results.json"
     302    command = ["perl", "./Tools/Scripts/run-javascriptcore-tests", "--no-build", WithProperties("--%(configuration)s", "--json-output={0}".format(jsonFileName))]
    302303    failedTestsFormatString = "%d JSC test%s failed"
     304    logfiles = {"json": jsonFileName}
    303305
    304306    def start(self):
  • trunk/Tools/ChangeLog

    r200245 r200253  
     12016-04-29  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
     2
     3        Add JSC test results in JSON format to a Buildbot log.
     4        https://bugs.webkit.org/show_bug.cgi?id=156920
     5
     6        Reviewed by Daniel Bates.
     7
     8        Generate JSON results for JSC tests and upload them to the master
     9        using Buildbot's logfiles machinery.
     10
     11        * BuildSlaveSupport/build.webkit.org-config/master.cfg:
     12        (RunJavaScriptCoreTests): Use --json-output option when invoking the
     13        run-javascriptcore-tests Perl script, and expose this JSON output as a
     14        Buildbot log.
     15        * Scripts/run-javascriptcore-tests:
     16        (runJSCStressTests): Change key names and remove redundant count key.
     17
    1182016-04-29  Joanmarie Diggs  <jdiggs@igalia.com>
    219
  • trunk/Tools/Scripts/run-javascriptcore-tests

    r200040 r200253  
    11#!/usr/bin/perl -w
    22
    3 # Copyright (C) 2005, 2013-2015 Apple Inc.  All rights reserved.
     3# Copyright (C) 2005, 2013-2016 Apple Inc.  All rights reserved.
    44# Copyright (C) 2007 Eric Seidel <eric@webkit.org>
    55#
     
    333333    if (defined($jsonFileName)) {
    334334        my %jsonData = (
    335             "numJSCStressFailures" => $numJSCStressFailures,
    336             "jscStressFailList" => \@jscStressFailList,
     335            "failures" => \@jscStressFailList,
    337336        );
    338337
Note: See TracChangeset for help on using the changeset viewer.