Skip to content

Commit

Permalink
Run unit tests in CI with -fsanitize=address
Browse files Browse the repository at this point in the history
  • Loading branch information
petrmikheev committed Jan 26, 2022
1 parent fac47ce commit e4cb1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CI/before_script.linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4cb1a1

Please sign in to comment.