mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
Added command line output for coverage.
This commit is contained in:
parent
32ad3989f2
commit
061609322a
@ -30,6 +30,7 @@ if (${CMAKE_BUILD_TYPE} STREQUAL "Profile")
|
||||
add_custom_target(coverage
|
||||
COMMAND ${CMAKE_CTEST_COMMAND}
|
||||
COMMAND lcov --capture --directory . --output-file coverage.info
|
||||
COMMAND lcov --summary coverage.info
|
||||
COMMAND genhtml coverage.info --output-directory out
|
||||
COMMAND x-www-browser out/index.html
|
||||
WORKING_DIRECTORY ${CMAKE_BUILD_DIR}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user