Bug 19074 - WebKit needs a script for automatically reducing test cases
Summary: WebKit needs a script for automatically reducing test cases
Status: RESOLVED DUPLICATE of bug 18690
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: ToolsHitList
Depends on:
Blocks:
 
Reported: 2008-05-15 03:47 PDT by Eric Seidel (no email)
Modified: 2011-05-26 11:19 PDT (History)
3 users (show)

See Also:


Attachments
example script (944 bytes, application/octet-stream)
2008-05-15 03:49 PDT, Eric Seidel (no email)
no flags Details
slightly improved example (1.23 KB, application/octet-stream)
2008-05-15 15:29 PDT, Eric Seidel (no email)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***