aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)