diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | test/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -95,6 +95,7 @@ PYTESTVALGRIND = \ --errors-for-leak-kinds=definite \ --show-leak-kinds=definite \ --leak-check=full \ + --exit-on-first-error=yes \ --error-exitcode=1 \ $(PYTESTCMD) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2fd2e84..7f94212 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -30,7 +30,7 @@ if (WITH_ASAN EQUAL 1) unset(valgrind) else() set(valgrind_path "/usr/bin/valgrind") - set(valgrind_args "--error-exitcode=1 --leak-check=full --quiet") + set(valgrind_args "--error-exitcode=1 --exit-on-first-error=yes --leak-check=full --quiet") set(valgrind_args "${valgrind_args} --show-leak-kinds=all --track-origins=yes") set(valgrind_args "${valgrind_args} --suppressions=${CMAKE_CURRENT_SOURCE_DIR}/valgrind.supp") separate_arguments(valgrind_args) |