summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mikheev <ptmikheev@gmail.com>2022-01-23 23:53:25 +0000
committerPetr Mikheev <ptmikheev@gmail.com>2022-01-23 23:53:25 +0000
commitf3855af2fbbfae57395483d04719c308bd073101 (patch)
treec7481477f75740b7785a3fd5e97e689b012897e3
parent730b5cad80da5cb8dd340521438f59a39108da4c (diff)
Run unit tests in CI with -fsanitize=addressptmikheev-master-patch-81659
-rwxr-xr-xCI/before_script.linux.sh2
1 files changed, 1 insertions, 1 deletions
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