Changeset 213630 in webkit


Ignore:
Timestamp:
Mar 8, 2017 10:02:32 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Fix error/warning duplication in JSON bindings results
https://bugs.webkit.org/show_bug.cgi?id=169305

Patch by Srinivasan Vijayaraghavan <svijayaraghavan@apple.com> on 2017-03-08
Reviewed by Alexey Proskuryakov.

The distinction between failures and errors is not meaningful, since all errors will also be failures.
As a result, we only need to keep track of failures.

  • Scripts/webkitpy/bindings/main.py:

(BindingsTests.init): Remove errors.
(BindingsTests.detect_changes): Remove errors.
(BindingsTests.main): Remove errors.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r213629 r213630  
     12017-03-08  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
     2
     3        Fix error/warning duplication in JSON bindings results
     4        https://bugs.webkit.org/show_bug.cgi?id=169305
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        The distinction between failures and errors is not meaningful, since all errors will also be failures.
     9        As a result, we only need to keep track of failures.
     10       
     11        * Scripts/webkitpy/bindings/main.py:
     12        (BindingsTests.__init__): Remove errors.
     13        (BindingsTests.detect_changes): Remove errors.
     14        (BindingsTests.main): Remove errors.
     15
    1162017-03-08  Yusuke Suzuki  <utatane.tea@gmail.com>
    217
  • trunk/Tools/Scripts/webkitpy/bindings/main.py

    r213097 r213630  
    4747        if self.json_file_name:
    4848            self.failures = []
    49             self.errors = []
    5049
    5150    def generate_from_idl(self, generator, idl_file, output_directory, supplemental_dependency_file):
     
    116115                output = e.output
    117116                exit_code = e.exit_code
    118                 if self.json_file_name:
    119                     self.errors.append("(%s) %s" % (generator, output_file))
    120117
    121118            if exit_code or output:
     
    204201            json_data = {
    205202                'failures': self.failures,
    206                 'errors': self.errors,
    207203            }
    208204
Note: See TracChangeset for help on using the changeset viewer.