mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 20:07:35 +08:00
lcov ignore src/examples (#7341)
This commit is contained in:
@@ -93,7 +93,9 @@ FUNCTION(SETUP_TARGET_FOR_COVERAGE _targetname _testrunner _outputname)
|
||||
add_custom_target(${_targetname} DEPENDS ${coverage_info})
|
||||
|
||||
add_custom_command(OUTPUT ${coverage_cleaned}
|
||||
COMMAND COMMAND ${LCOV_PATH} --quiet --remove ${coverage_info} 'tests/*' '/usr/*' --output-file ${coverage_cleaned}
|
||||
COMMAND COMMAND ${LCOV_PATH} --quiet
|
||||
--remove ${coverage_info} 'tests/*' '/usr/*' 'src/examples*'
|
||||
--output-file ${coverage_cleaned}
|
||||
DEPENDS ${coverage_info}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user