[cfe-dev] A tool for generating reduced headers for test cases (delta debugging)

Ted Kremenek kremenek at apple.com
Thu Jul 10 22:50:31 PDT 2008


On Jul 10, 2008, at 10:17 PM, Nikita Zhuk wrote:

> On 10.7.2008, at 0.35, Ted Kremenek wrote:
>
>> I also saw that Nuno posted some scripts.  Hopefully from all these  
>> scripts you'll find something that works for you.  If these scripts  
>> prove useful, we should post them to the Clang website.
>
> I've been able to reduce headers in a simple test case with  
> detect_error.pl and reduce.pl scripts very easily

Cool!

> (some manual clean-up of result source code was required, but it was  
> pretty minor),

I have to do this every time as well.  I'm sure that cleanup work  
could be automated one day as well.

>  I've submitted the test case as bug 2542 (NSAnimation self- 
> ownership).

Wonderful test cases!  I've posted some questions on the Bugzilla  
report.




More information about the cfe-dev mailing list