projects
/
platform
/
upstream
/
gumd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be35780
)
Add a Makefile recipe for lcov
author
Alexander Kanavin
<alexander.kanavin@intel.com>
Fri, 20 Dec 2013 16:05:47 +0000
(18:05 +0200)
committer
Alexander Kanavin
<alexander.kanavin@intel.com>
Fri, 20 Dec 2013 16:05:47 +0000
(18:05 +0200)
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
48f0e76
..
8ea26de
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-18,3
+18,10
@@
EXTRA_DIST = dists tools
valgrind:
cd test; make valgrind
+
+lcov: check
+ @rm -rf lcov-report
+ @lcov -c --directory src/ --output-file lcov.output
+ @genhtml lcov.output --output-directory lcov-report
+ @rm lcov.output
+ @echo "Coverage report is in file://$(abs_srcdir)/lcov-report/index.html"