On 9/12/22 10:04, David Anderson wrote:
Thhe html documentation http://www.valgrind.org/docs/manual/index.html explains what --error-exitcode=9 does in case valgrind notes an error.
[[snip]]
It says nothing explicitly about what exit code is returned if valgrind does not find an error. AFAICT. In my tests, it appears that when valgrind finds no problem valgrind returns the exit code of the application under test if --error-exitcode is set non-zero. I suggest that the web page should say that clearly.
The best way to handle this is to file a bug report: https://valgrind.org/support/bug_reports.html and then post here the URL of the bug report. A bug report alerts multiple developers, and will not get lost or forgotten. _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users