Skip to content

Commit

Permalink
Coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Jun 19, 2011
1 parent be5e943 commit 54a10a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ gprof:
gcov:
$(MAKE) CFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS="-fprofile-arcs"

coverage: gcov
make check
mkdir -p tmp/lcov
lcov -d . -c -o tmp/lcov/hiredis.info
genhtml --legend -o tmp/lcov/report tmp/lcov/hiredis.info

noopt:
$(MAKE) OPTIMIZATION=""

Expand Down

0 comments on commit 54a10a2

Please sign in to comment.