diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 1a0c3031..afa653b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -346,6 +346,20 @@ docs: pdf $(top_builddir)/doc/refman.pdf libs: (cd lib; make) +report: all + -rm -fr build + lcov -d $(shell pwd) --zerocounters + -mkdir doc/report + lcov -c -i -d $(shell pwd) -o doc/report/ledger_base.info + make fullcheck + lcov -c -d $(shell pwd) --checksum -o doc/report/ledger_test.info + lcov -a doc/report/ledger_base.info \ + -a doc/report/ledger_test.info -o doc/report/ledger_total.info + lcov --extract doc/report/ledger_total.info '*src/ledger/*' \ + -o doc/report/ledger_cov.info + genhtml -o doc/report doc/report/ledger_cov.info + @echo Coverage reported generated\; now open doc/report/index.html + ###################################################################### copy-sources: |