Bug 58513 - Perl unit test removeEOL.pl should print test case name on failure
Summary: Perl unit test removeEOL.pl should print test case name on failure
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 22:43 PDT by Daniel Bates
Modified: 2011-04-13 22:58 PDT (History)
0 users

See Also:


Attachments
Patch (2.20 KB, patch)
2011-04-13 22:50 PDT, Daniel Bates
abarth: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2011-04-13 22:43:24 PDT
We should pass the $title local variable as the second parameter to ok() so that on test failure we print out the the test case name to the terminal. This will allow us to quickly identity the test case that failed. For more details see the description of ok() in <http://perldoc.perl.org/Test/Simple.html#DESCRIPTION>.
Comment 1 Daniel Bates 2011-04-13 22:50:05 PDT
Created attachment 89536 [details]
Patch
Comment 2 Daniel Bates 2011-04-13 22:58:34 PDT
Committed in changeset 83817 <http://trac.webkit.org/changeset/83817>.