Skip to content

Commit

Permalink
lcov ignore src/examples (#7341)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Jun 3, 2017
1 parent 24b26e5 commit beaa758
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/common/coverage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
)

Expand Down

0 comments on commit beaa758

Please sign in to comment.