Commit 0d816a1a2edb93fd874b8f4028d8d4e23e8cc92b

Steffen Jaeckel 2015-04-26T16:57:42

makefile: include timing in coverage creation

diff --git a/makefile b/makefile
index e8feb7f..3c8a70f 100644
--- a/makefile
+++ b/makefile
@@ -82,13 +82,15 @@ $(LIBNAME):  $(OBJECTS)
 
 #make the code coverage of the library
 #
-coverage: CFLAGS += -fprofile-arcs -ftest-coverage
+coverage: CFLAGS += -fprofile-arcs -ftest-coverage -DTIMING_NO_LOGS
 coverage: LFLAGS += -lgcov
 
-coverage: test_standalone
+coverage: test_standalone timing
 	./test
+	./ltmtest
 
 lcov: coverage
+	rm -f coverage.info
 	lcov --capture --no-external --no-recursion --directory . --output-file coverage.info -q
 	genhtml coverage.info --output-directory coverage -q