From d2a571a868d8dc5c6c430a2852bf5762c3b2c2df Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 15 Aug 2023 21:33:34 +0900 Subject: [PATCH] Set exit code for Valgrind (#2265) 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: