let valgrind fail when test app returns 0 but valgrind still found an error

this allows to trace uninitialized variables etc with our default
memcheck runs because now valgrind will fail such a test, even though
the test executable returned zero on exit
This commit is contained in:
Andre Puschmann 2019-02-08 22:37:51 +01:00
parent c8f8c16d50
commit 99e0bda779
1 changed files with 1 additions and 1 deletions

View File

@ -11,4 +11,4 @@ set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "my.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=srsLTE")
set(CTEST_DROP_SITE_CDASH TRUE)
set(VALGRIND_COMMAND_OPTIONS "--trace-children=yes --leak-check=full --show-reachable=yes --vex-guest-max-insns=25")
set(VALGRIND_COMMAND_OPTIONS "--error-exitcode=1 --trace-children=yes --leak-check=full --show-reachable=yes --vex-guest-max-insns=25")