diff --git a/BUILD/build_deb_local.sh b/BUILD/build_deb_local.sh index 0640673ef..1c8c078de 100755 --- a/BUILD/build_deb_local.sh +++ b/BUILD/build_deb_local.sh @@ -16,6 +16,8 @@ make if [[ "$cmake_flags" =~ "BUILD_TESTS" ]] then + # We don't care about memory leaks in the tests (e.g. servers are never freed) + export ASAN_OPTIONS=detect_leaks=0 # All tests must pass otherwise the build is considered a failure ctest --output-on-failure || exit 1 fi