Set exit code for Valgrind (#2265)

Otherwise errors can be ignored for successful tests with memory
errors.
This commit is contained in:
Andrew Gaul 2023-08-15 21:33:34 +09:00 committed by GitHub
parent d120e54284
commit d2a571a868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ make check -C test/
make clean make clean
./configure CXXFLAGS="$COMMON_FLAGS" ./configure CXXFLAGS="$COMMON_FLAGS"
make 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: # Local variables: