Title: [105232] trunk/Tools
- Revision
- 105232
- Author
- [email protected]
- Date
- 2012-01-17 19:19:09 -0800 (Tue, 17 Jan 2012)
Log Message
Add a check-webkit-style exception for GDBInterface.cpp
https://bugs.webkit.org/show_bug.cgi?id=76187
Add an exception for Source/_javascript_Core/jit/GDBInterface.cpp so
that it does not fail the style check.
Patch by Sanjoy Das <[email protected]> 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/_javascript_Core/jit/GDBInterface.cpp.
* Scripts/webkitpy/style/checker_unittest.py:
(GlobalVariablesTest.test_path_rules_specifier): Add a test for
the above exception.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (105231 => 105232)
--- trunk/Tools/ChangeLog 2012-01-18 03:16:47 UTC (rev 105231)
+++ trunk/Tools/ChangeLog 2012-01-18 03:19:09 UTC (rev 105232)
@@ -1,3 +1,20 @@
+2012-01-17 Sanjoy Das <[email protected]>
+
+ Add a check-webkit-style exception for GDBInterface.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=76187
+
+ Add an exception for Source/_javascript_Core/jit/GDBInterface.cpp so
+ that it does not fail the style check.
+
+ Reviewed by Martin Robinson.
+
+ * Scripts/webkitpy/style/checker.py: Tell the style checker to not run
+ readability/naming tests on
+ Source/_javascript_Core/jit/GDBInterface.cpp.
+ * Scripts/webkitpy/style/checker_unittest.py:
+ (GlobalVariablesTest.test_path_rules_specifier): Add a test for
+ the above exception.
+
2012-01-17 Hajime Morrita <[email protected]>
https://bugs.webkit.org/show_bug.cgi?id=76245
Modified: trunk/Tools/Scripts/webkitpy/style/checker.py (105231 => 105232)
--- trunk/Tools/Scripts/webkitpy/style/checker.py 2012-01-18 03:16:47 UTC (rev 105231)
+++ trunk/Tools/Scripts/webkitpy/style/checker.py 2012-01-18 03:19:09 UTC (rev 105232)
@@ -225,6 +225,11 @@
"-whitespace",
"-build/header_guard",
"-build/include_order"]),
+
+ ([# There is no way to avoid the symbols __jit_debug_register_code
+ # and __jit_debug_descriptor when integrating with gdb.
+ "Source/_javascript_Core/jit/GDBInterface.cpp"],
+ ["-readability/naming"]),
]
Modified: trunk/Tools/Scripts/webkitpy/style/checker_unittest.py (105231 => 105232)
--- trunk/Tools/Scripts/webkitpy/style/checker_unittest.py 2012-01-18 03:16:47 UTC (rev 105231)
+++ trunk/Tools/Scripts/webkitpy/style/checker_unittest.py 2012-01-18 03:19:09 UTC (rev 105232)
@@ -261,6 +261,10 @@
assertCheck(path, "pep8/W291")
assertCheck(path, "whitespace/carriage_return")
+ # Test if the exception for GDBInterface.cpp is in place.
+ assertNoCheck("Source/_javascript_Core/jit/GDBInterface.cpp",
+ "readability/naming")
+
def test_max_reports_per_category(self):
"""Check that _MAX_REPORTS_PER_CATEGORY is valid."""
all_categories = self._all_categories()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes