Turn off Analyzer if using Travis -- it breaks all tests for some reason

This commit is contained in:
Dmitri Tikhonov 2018-04-23 14:13:20 -04:00
parent 69ecc99802
commit db8ac9eead
2 changed files with 3 additions and 2 deletions

View File

@ -38,4 +38,4 @@ before_script:
script:
# Now build lsquic-client
- make
- ctest -VV
- make test

View File

@ -41,7 +41,8 @@ IF(DEVEL_MODE EQUAL 1)
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -O0 -g3")
# -Werror is used to force us to fix warnings early.
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Werror")
IF(CMAKE_C_COMPILER MATCHES "clang")
IF(CMAKE_C_COMPILER MATCHES "clang" AND
NOT "$ENV{TRAVIS}" MATCHES "^true$")
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -fsanitize=address")
ENDIF()
# Uncomment to enable fault injection testing via libfiu: