Travis: Added -fsanitize to several builds

This commit is contained in:
Benoit Blanchon committed 2017-01-21 19:49:44 +01:00
1 parent 17a17c8957
commit fb554071dc
5 files changed
+44 -49

No files matched your search

-4
View File
@@ -18,8 +18,4 @@ if(${COVERAGE})
set(CMAKE_CXX_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
endif()
if(${SANITIZE})
set(CMAKE_CXX_FLAGS "-fsanitize=address,undefined")
endif()
add_subdirectory(test)