makefile: include timing in coverage creation
This commit is contained in:
parent
f82599933b
commit
0d816a1a2e
6
makefile
6
makefile
@ -82,13 +82,15 @@ $(LIBNAME): $(OBJECTS)
|
|||||||
|
|
||||||
#make the code coverage of the library
|
#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: LFLAGS += -lgcov
|
||||||
|
|
||||||
coverage: test_standalone
|
coverage: test_standalone timing
|
||||||
./test
|
./test
|
||||||
|
./ltmtest
|
||||||
|
|
||||||
lcov: coverage
|
lcov: coverage
|
||||||
|
rm -f coverage.info
|
||||||
lcov --capture --no-external --no-recursion --directory . --output-file coverage.info -q
|
lcov --capture --no-external --no-recursion --directory . --output-file coverage.info -q
|
||||||
genhtml coverage.info --output-directory coverage -q
|
genhtml coverage.info --output-directory coverage -q
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user