From 25d79146f3d345930f7d621aa580c1f14b0de702 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 14 Aug 2023 20:34:38 +0900 Subject: [PATCH] Set exit code for Valgrind Otherwise errors can be ignored for successful tests with memory errors. --- test/run_tests_using_sanitizers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_tests_using_sanitizers.sh b/test/run_tests_using_sanitizers.sh index 4d8e377..70bea07 100755 --- a/test/run_tests_using_sanitizers.sh +++ b/test/run_tests_using_sanitizers.sh @@ -61,7 +61,7 @@ make check -C test/ make clean ./configure CXXFLAGS="$COMMON_FLAGS" make -RETRIES=100 VALGRIND="--leak-check=full" make check -C test/ +RETRIES=100 VALGRIND="--leak-check=full --error-exitcode=1" make check -C test/ # # Local variables: