From 54a10a27e7c1c3c0656540657cbd2f5ebd90f0ee Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Sun, 19 Jun 2011 13:07:12 +0200 Subject: Coverage report --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ceb53d0..6c31d89 100644 --- a/Makefile +++ b/Makefile @@ -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="" -- cgit v1.2.3