Bug 19074

Summary: WebKit needs a script for automatically reducing test cases
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: aroben, ddkilzer, sam
Priority: P2 Keywords: ToolsHitList
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
example script
none
slightly improved example none

Description Eric Seidel (no email) 2008-05-15 03:47:02 PDT
WebKit needs a script for automatically reducing test cases

I've written a little script for automatically reducing crashing test cases.  I've not cleaned it up to be general yet, but I figure I'll post it here anyway.

It needs a bunch of work to be useful in the general case.
Comment 1 Eric Seidel (no email) 2008-05-15 03:49:12 PDT
Created attachment 21158 [details]
example script
Comment 2 Eric Seidel (no email) 2008-05-15 03:50:00 PDT
more sophisticated tools exist for other projects:
http://llvm.org/docs/Bugpoint.html
Comment 3 Gavin Sherlock 2008-05-15 09:51:53 PDT
kind of related to bug 14524
Comment 4 Eric Seidel (no email) 2008-05-15 15:29:41 PDT
Created attachment 21186 [details]
slightly improved example
Comment 5 Eric Seidel (no email) 2008-06-11 01:00:25 PDT
https://bugs.webkit.org/show_bug.cgi?id=18858 (security bug) includes a crashing reducer I wrote (not very sophisticated, but worked for my purposes.  http://code.google.com/p/tmin/  is a fancier tool.
Comment 6 Adam Roben (:aroben) 2011-05-26 09:53:22 PDT
Sounds like a dupe of bug 18690?
Comment 7 Adam Roben (:aroben) 2011-05-26 09:53:34 PDT

*** This bug has been marked as a duplicate of bug 18690 ***