| Summary: | Implement new option --show-error-list=no|yes / -s | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Philippe Waroquiers <philippe.waroquiers> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | philippe.waroquiers |
| Priority: | NOR | ||
| Version First Reported In: | 3.14.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Patch to implement --show-error-list-suppression-counts=yes
version 2, adding =auto value to have a backward compatibility with 3.14 |
||
|
Description
Philippe Waroquiers
2018-12-23 23:09:49 UTC
Created attachment 117081 [details]
Patch to implement --show-error-list-suppression-counts=yes
Second patch version adds the value 'auto' to ensure backward compatibility with the previous valgrind version: with --show-error-list-suppression-counts=auto, it is the verbosity that controls what to output, in a way similar to valgrind 3.14. Created attachment 117124 [details]
version 2, adding =auto value to have a backward compatibility with 3.14
This was discussed on irc. Summary is to go with the comment 1 patch, but with the following changes: * change the flag name to --show-error-list=no|yes, * change the hint message from For counts of detected and suppressed errors, rerun with: -v to For lists of detected and suppressed errors, rerun with: -s These changes will make it backwards compatible, and simple to explain. In particular: * output without -v or --show-error-list=yes is the same as currently * output with -v is the same as currently, with the exception of a change in a 1-line piece of hint text * output with --show-error-list=yes now includes the error and supp lists * output with -v --show-error-list=no is the same as -v, except with the error and supp lists removed. Pushed in f3a3eadf36 |