Bug 76187 - Add a check-webkit-style exception for GDBInterface.cpp
Summary: Add a check-webkit-style exception for GDBInterface.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 09:27 PST by Sanjoy Das
Modified: 2012-01-17 19:19 PST (History)
5 users (show)

See Also:


Attachments
Add a check-webkit-style exception for GDBInterface.cpp (1.84 KB, patch)
2012-01-12 09:30 PST, Sanjoy Das
levin: review+
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff
Proposed patch (1.86 KB, patch)
2012-01-14 03:13 PST, Sanjoy Das
pnormand: review-
Details | Formatted Diff | Diff
Add a check-webkit-style exception for GDBInterface.cpp (3.01 KB, patch)
2012-01-17 14:24 PST, Sanjoy Das
no flags Details | Formatted Diff | Diff
Add a check-webkit-style exception for GDBInterface.cpp (3.01 KB, patch)
2012-01-17 15:55 PST, Sanjoy Das
no flags Details | Formatted Diff | Diff
Add a check-webkit-style exception for GDBInterface.cpp (3.14 KB, patch)
2012-01-17 16:22 PST, Sanjoy Das
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sanjoy Das 2012-01-12 09:27:11 PST
This so that https://bugs.webkit.org/show_bug.cgi?id=75387 can be merged without style errors.
Comment 1 Sanjoy Das 2012-01-12 09:30:53 PST
Created attachment 122258 [details]
Add a check-webkit-style exception for GDBInterface.cpp
Comment 2 WebKit Review Bot 2012-01-12 12:16:17 PST
Comment on attachment 122258 [details]
Add a check-webkit-style exception for GDBInterface.cpp

Rejecting attachment 122258 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1

ERROR: /mnt/git/webkit-commit-queue/Tools/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).

Full output: http://queues.webkit.org/results/11209140
Comment 3 Sanjoy Das 2012-01-14 03:13:53 PST
Created attachment 122539 [details]
Proposed patch
Comment 4 Philippe Normand 2012-01-14 03:35:55 PST
Comment on attachment 122539 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=122539&action=review

It is looking good! The last missing bit is a little unittest in Tools/Scripts/webkitpy/style/checker_unittest.py maybe you can add it in test_path_rules_specifier. To run the tests use test-webkitpy.

> Tools/ChangeLog:7
> +        Unreviewed

The Reviewed by NOBODY (OOPS!). line should remain. It is transformed to "Reviewed by Foo" by the commiter or the commit-queue bot.
Comment 5 Sanjoy Das 2012-01-17 14:24:06 PST
Created attachment 122812 [details]
Add a check-webkit-style exception for GDBInterface.cpp

+ a test case for the style checker.
Comment 6 WebKit Review Bot 2012-01-17 14:26:47 PST
Attachment 122812 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/Scripts/webkitpy..." exit_code: 1

Tools/Scripts/webkitpy/style/checker_unittest.py:263:  trailing whitespace  [pep8/W291] [5]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 Sanjoy Das 2012-01-17 15:55:55 PST
Created attachment 122832 [details]
Add a check-webkit-style exception for GDBInterface.cpp
Comment 8 Martin Robinson 2012-01-17 16:03:53 PST
Comment on attachment 122832 [details]
Add a check-webkit-style exception for GDBInterface.cpp

View in context: https://bugs.webkit.org/attachment.cgi?id=122832&action=review

This looks just fine to me, though there are a couple relaly minor style nits.

> Tools/ChangeLog:4
> +        Add an exception for Source/JavaScriptCore/jit/GDBInterface.cpp so
> +        that it does not fail the style check.

Typically this is the bug title itself and the description oes below the "Reviewed by" line.

> Tools/Scripts/webkitpy/style/checker.py:230
> +      # and __jit_debug_descriptor when integrating with gdb

Missing a period here.

> Tools/Scripts/webkitpy/style/checker_unittest.py:264
> +        # Test if the exception for GDBInterface.cpp is in place

Here as well.
Comment 9 Sanjoy Das 2012-01-17 16:22:59 PST
Created attachment 122835 [details]
Add a check-webkit-style exception for GDBInterface.cpp

This patch should fix the style errors.
Comment 10 WebKit Review Bot 2012-01-17 19:19:24 PST
Comment on attachment 122835 [details]
Add a check-webkit-style exception for GDBInterface.cpp

Clearing flags on attachment: 122835

Committed r105232: <http://trac.webkit.org/changeset/105232>
Comment 11 WebKit Review Bot 2012-01-17 19:19:29 PST
All reviewed patches have been landed.  Closing bug.