Bug 17928

Summary: testkjs shouldn't require "-f"
Product: WebKit Reporter: Jesse Ruderman <jruderman>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Enhancement CC: sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Proposed patch mitz: review+

Jesse Ruderman
Reported 2008-03-18 16:52:51 PDT
It would be nice if "testkjs a.js" worked. I have a bunch of tools for fuzzing and testcase reduction that don't expect to have to pass extra arguments like "-f".
Attachments
Proposed patch (1.79 KB, patch)
2008-06-07 20:34 PDT, Cameron Zwarich (cpst)
mitz: review+
Cameron Zwarich (cpst)
Comment 1 2008-06-07 20:34:38 PDT
Created attachment 21569 [details] Proposed patch
mitz
Comment 2 2008-06-07 20:45:07 PDT
Comment on attachment 21569 [details] Proposed patch + fprintf(stderr, "Usage: testkjs [options] [files] [-- arguments]\n"); Looks like it's really [options and files], but I guess it's okay for the usage message to suggest separating them. r=me
Cameron Zwarich (cpst)
Comment 3 2008-06-07 20:52:38 PDT
Landed in r34437.
Note You need to log in before you can comment on or make changes to this bug.