From: Leonard m. <spa...@ya...> - 2003-06-16 13:48:17
|
> >What do you think of a --gen-suppressions={yes|no|ask} option. > >"yes" would generate suppressions without a prompt for every > >flagged issue, and "ask" would do what yes does now. I just want > >it to dump everything in a file and when it prompts me I have to > >sit there and bang "y" on the keyboard. > > Attached is a patch that does precisely that. It accumulates > suppressions and dumps them into a file, sorted by frequency at > which they were hit during the execution. Works well, thanks! Just two buglets. The "ask" and "yes" cases are reversed (that is, it asks when you say "yes", and doesn't ask when you say "ask"). Also, --help doesn't tell you about the new-and-improved --gen-suppressions syntax. I notice that it dumps suppressions in separate files for separate subprocesses/threads in "yes" mode, but I guess that's the expected behavior. Randall __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |