Coverage report
This commit is contained in:
parent
be5e943ddd
commit
54a10a27e7
6
Makefile
6
Makefile
@ -136,6 +136,12 @@ gprof:
|
|||||||
gcov:
|
gcov:
|
||||||
$(MAKE) CFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS="-fprofile-arcs"
|
$(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:
|
noopt:
|
||||||
$(MAKE) OPTIMIZATION=""
|
$(MAKE) OPTIMIZATION=""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user