From f3855af2fbbfae57395483d04719c308bd073101 Mon Sep 17 00:00:00 2001 From: Petr Mikheev Date: Sun, 23 Jan 2022 23:53:25 +0000 Subject: Run unit tests in CI with -fsanitize=address --- CI/before_script.linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI/before_script.linux.sh b/CI/before_script.linux.sh index 2a10ae2b78..801d7f0a3e 100755 --- a/CI/before_script.linux.sh +++ b/CI/before_script.linux.sh @@ -58,7 +58,7 @@ cd build if [[ "${BUILD_TESTS_ONLY}" ]]; then # flags specific to our test suite - CXX_FLAGS="-Wno-error=deprecated-declarations -Wno-error=nonnull -Wno-error=deprecated-copy" + CXX_FLAGS="-Wno-error=deprecated-declarations -Wno-error=nonnull -Wno-error=deprecated-copy -fsanitize=address" if [[ "${CXX}" == 'clang++' ]]; then CXX_FLAGS="${CXX_FLAGS} -Wno-error=unused-lambda-capture -Wno-error=gnu-zero-variadic-macro-arguments" fi -- cgit v1.2.3