Skip to content

Instantly share code, notes, and snippets.

@tcoffin
Created May 14, 2014 19:51
Show Gist options
  • Save tcoffin/9bcdc25a80f27df23a8c to your computer and use it in GitHub Desktop.
Save tcoffin/9bcdc25a80f27df23a8c to your computer and use it in GitHub Desktop.
gcov and lcov usage

CFLAGS+=-g -fprofile-arcs -ftest-coverage lcov --zerocounters --directory $PWD lcov --capture --directory $PWD --output-file coverage.info genhtml coverage.info --output-directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment