travis-ci enable tests under address sanitizier (#8095)

This commit is contained in:
Daniel Agar
2017-10-17 16:26:17 -04:00
committed by GitHub
parent c607805154
commit 979d092628
3 changed files with 43 additions and 18 deletions
+3 -3
View File
@@ -108,10 +108,10 @@ else
endif
# additional config parameters passed to cmake
CMAKE_ARGS := -Wno-deprecated
CMAKE_ARGS += -Wno-deprecated
ifdef EXTERNAL_MODULES_LOCATION
CMAKE_ARGS := -DEXTERNAL_MODULES_LOCATION:STRING=$(EXTERNAL_MODULES_LOCATION)
CMAKE_ARGS += -DEXTERNAL_MODULES_LOCATION:STRING=$(EXTERNAL_MODULES_LOCATION)
endif
ifdef PX4_CMAKE_BUILD_TYPE
@@ -296,7 +296,7 @@ format:
.PHONY: tests tests_coverage
tests:
$(MAKE) --no-print-directory posix_sitl_default test_results
$(MAKE) --no-print-directory posix_sitl_default test_results ASAN_OPTIONS="color=always"
tests_coverage:
@$(MAKE) --no-print-directory posix_sitl_default test_coverage_genhtml PX4_CMAKE_BUILD_TYPE=Coverage