mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 15:09:43 +00:00
Run unit tests in CI with -fsanitize=address
This commit is contained in:
parent
fac47ce0b5
commit
e4cb1a1370
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ cd build
|
||||||
if [[ "${BUILD_TESTS_ONLY}" ]]; then
|
if [[ "${BUILD_TESTS_ONLY}" ]]; then
|
||||||
|
|
||||||
# flags specific to our test suite
|
# 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
|
if [[ "${CXX}" == 'clang++' ]]; then
|
||||||
CXX_FLAGS="${CXX_FLAGS} -Wno-error=unused-lambda-capture -Wno-error=gnu-zero-variadic-macro-arguments"
|
CXX_FLAGS="${CXX_FLAGS} -Wno-error=unused-lambda-capture -Wno-error=gnu-zero-variadic-macro-arguments"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue