Skip to content

Instantly share code, notes, and snippets.

@rowlo
Last active December 18, 2015 22:48
Show Gist options
  • Save rowlo/5856542 to your computer and use it in GitHub Desktop.
Save rowlo/5856542 to your computer and use it in GitHub Desktop.
Command to process a file pattern ${1} for creating a html coverage report.
lcov -d . -c -o coverage.info
lcov --list-full-path -e coverage.info ${1} -o coverage-stripped.info
genhtml -o html-coverage coverage-stripped.info
lcov -d . -z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment