Skip to content
Snippets Groups Projects
Commit 027defbc authored by Petter Reinholdtsen's avatar Petter Reinholdtsen
Browse files

Adjust valgrind run to fail tests if valgrind report errors.

parent 2ca05cd3
Branches ci-newer-gcc
No related tags found
1 merge request!9Adjust valgrind run to fail tests if valgrind report errors.
Pipeline #6012 failed
......@@ -63,7 +63,7 @@ then
AC_PATH_PROG(VALGRIND,valgrind,)
if test "x$VALGRIND" != "x"
then
VALGRIND="$VALGRIND -q --leak-check=full --show-reachable=yes --num-callers=50"
VALGRIND="$VALGRIND -q --error-exitcode=99 --leak-check=full --show-reachable=yes --num-callers=50"
TESTS_INFO="Test suite will be run under:
${VALGRIND}"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment