Permalink
Browse files

Coverage report

  • Loading branch information...
1 parent be5e943 commit 54a10a27e7c1c3c0656540657cbd2f5ebd90f0ee @pietern pietern committed Jun 19, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 Makefile
View
@@ -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=""

0 comments on commit 54a10a2

Please sign in to comment.