From 664e93c0572e6533e922ed92c85a32bd5289f884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Mon, 9 Jul 2018 05:47:18 +0200 Subject: [PATCH] [travis] Enable ASAN for the test suite --- ci/run.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/run.sh b/ci/run.sh index 941e05b4..12e3094b 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -15,7 +15,11 @@ fi mkdir build && cd build conan install .. --build missing --profile release -cmake ${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=install .. +cmake ${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=install \ + -DCMAKE_CXX_FLAGS="-fsanitize=address" \ + -DCMAKE_C_FLAGS="-fsanitize=address" \ + -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address" \ + -DCMAKE_MODULE_LINKER_FLAGS="-fsanitize=address" .. make -j2 VERBOSE=1 make tests make install