https://bugs.kde.org/show_bug.cgi?id=395139
Bug ID: 395139 Summary: Terminate process and fail at errors. Product: valgrind Version: unspecified Platform: Fedora RPMs OS: Linux Status: UNCONFIRMED Severity: wishlist Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: cbro...@gmail.com Target Milestone: --- I'm running memcheck embedded in a quick check framework. This framework starts a program and test its API randomly. In case of an error, the program is restarted and the random sequence that lead to the error is iteratively reduced as long as it still leads to the error. As an option it is also possible to run the program under valgrind/memcheck control. But the test framework will not notice any errors that memcheck has detected until the program is terminated. In this case I want to the program to stop with an exit code. I wish I could write something like: --error-limit=1 --error-exitcode=42 Both these flags currently exist but the --error-limit accepts only "no" and "yes", where "yes" is a too high limit for my case. -- You are receiving this mail because: You are watching all bug changes.