WIP startup_shutdown test with ASAN on

This commit is contained in:
Daniel Agar
2017-01-02 10:14:41 +01:00
committed by Lorenz Meier
parent f8d7c53537
commit dc9a71b674
4 changed files with 151 additions and 4 deletions
+8 -4
View File
@@ -285,11 +285,15 @@ tests: run_tests_posix
@$(call PX4_RUN,$(MAKE) --no-print-directory unittest)
tests_coverage:
@$(call PX4_RUN,$(MAKE) --no-print-directory tests PX4_CODE_COVERAGE=1 CCACHE_DISABLE=1)
@$(call PX4_RUN,lcov --directory . --capture --quiet --output-file coverage.info)
@$(call PX4_RUN,lcov --zerocounters --directory $(SRC_DIR) --quiet)
@$(call PX4_RUN,lcov --capture --initial --directory $(SRC_DIR) --quiet --output-file coverage.info)
@$(call PX4_RUN,$(MAKE) --no-print-directory tests PX4_CODE_COVERAGE=1 CCACHE_DISABLE=1 HEADLESS=1)
@$(call PX4_RUN,lcov --no-checksum --directory $(SRC_DIR) --capture --quiet --output-file coverage.info)
@$(call PX4_RUN,lcov --remove coverage.info '/usr/*' 'unittests/googletest/*' 'mavlink/*' --quiet --output-file coverage.info)
#@(lcov --list coverage.info)
@$(call PX4_RUN,genhtml coverage.info --quiet --output-directory coverage-html)
@$(call PX4_RUN,genhtml --legend --show-details --function-coverage --quiet --output-directory coverage-html coverage.info )
test_startup_shutdown:
@$(call PX4_RUN,$(MAKE) --no-print-directory posix_sitl_test gazebo_standard_vtol HEADLESS=1 MEMORY_DEBUG=1)
package_firmware:
@zip --junk-paths Firmware.zip `find Binaries/. -name \*.px4`