makefile: include timing in coverage creation

This commit is contained in:
Steffen Jaeckel 2015-04-26 16:57:42 +02:00
parent f82599933b
commit 0d816a1a2e

View File

@ -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