Changeset 105232 in webkit


Ignore:
Timestamp:
Jan 17, 2012 7:19:09 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Add a check-webkit-style exception for GDBInterface.cpp
https://bugs.webkit.org/show_bug.cgi?id=76187

Add an exception for Source/JavaScriptCore/jit/GDBInterface.cpp so
that it does not fail the style check.

Patch by Sanjoy Das <sanjoy@playingwithpointers.com> on 2012-01-17
Reviewed by Martin Robinson.

  • Scripts/webkitpy/style/checker.py: Tell the style checker to not run

readability/naming tests on
Source/JavaScriptCore/jit/GDBInterface.cpp.

  • Scripts/webkitpy/style/checker_unittest.py:

(GlobalVariablesTest.test_path_rules_specifier): Add a test for
the above exception.

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r105218 r105232  
     12012-01-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
     2
     3        Add a check-webkit-style exception for GDBInterface.cpp
     4        https://bugs.webkit.org/show_bug.cgi?id=76187
     5
     6        Add an exception for Source/JavaScriptCore/jit/GDBInterface.cpp so
     7        that it does not fail the style check.
     8
     9        Reviewed by Martin Robinson.
     10
     11        * Scripts/webkitpy/style/checker.py: Tell the style checker to not run
     12        readability/naming tests on
     13        Source/JavaScriptCore/jit/GDBInterface.cpp.
     14        * Scripts/webkitpy/style/checker_unittest.py:
     15        (GlobalVariablesTest.test_path_rules_specifier): Add a test for
     16        the above exception.
     17
    1182012-01-17  Hajime Morrita  <morrita@chromium.org>
    219
  • trunk/Tools/Scripts/webkitpy/style/checker.py

    r103911 r105232  
    226226      "-build/header_guard",
    227227      "-build/include_order"]),
     228
     229    ([# There is no way to avoid the symbols __jit_debug_register_code
     230      # and __jit_debug_descriptor when integrating with gdb.
     231      "Source/JavaScriptCore/jit/GDBInterface.cpp"],
     232     ["-readability/naming"]),
    228233]
    229234
  • trunk/Tools/Scripts/webkitpy/style/checker_unittest.py

    r101803 r105232  
    262262        assertCheck(path, "whitespace/carriage_return")
    263263
     264        # Test if the exception for GDBInterface.cpp is in place.
     265        assertNoCheck("Source/JavaScriptCore/jit/GDBInterface.cpp",
     266                      "readability/naming")
     267
    264268    def test_max_reports_per_category(self):
    265269        """Check that _MAX_REPORTS_PER_CATEGORY is valid."""
Note: See TracChangeset for help on using the changeset viewer.