mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:13:34 +08:00
WIP startup_shutdown test with ASAN on
This commit is contained in:
committed by
Lorenz Meier
parent
f8d7c53537
commit
dc9a71b674
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user