diff options
author | Petr Mikheev <ptmikheev@gmail.com> | 2022-01-23 23:53:25 +0000 |
---|---|---|
committer | Petr Mikheev <ptmikheev@gmail.com> | 2022-01-23 23:53:25 +0000 |
commit | f3855af2fbbfae57395483d04719c308bd073101 (patch) | |
tree | c7481477f75740b7785a3fd5e97e689b012897e3 | |
parent | 730b5cad80da5cb8dd340521438f59a39108da4c (diff) |
Run unit tests in CI with -fsanitize=addressptmikheev-master-patch-81659
-rwxr-xr-x | CI/before_script.linux.sh | 2 |
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 |