diff options
author | Vasil Velichkov <vasil_vel@abv.bg> | 2016-07-18 22:46:36 +0300 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2017-03-26 04:42:26 -0700 |
commit | e318759ef25954943ba2214a545ed60da8d577c4 (patch) | |
tree | ffa4a59b9b4306ffbbd9d03c71eb6fa27bb6da6e /libasn1fix | |
parent | b98b286d7bf172c89c630ddcf8ca090fc855c046 (diff) |
Add code coverage using lcov and gcov
To generate the code coverage report you need gcov and lcov installed
and then execute
./configure --enable-code-coverage
make check-code-coverage
Writing directory view page.
Overall coverage rate:
lines......: 76.5% (10519 of 13759 lines)
functions..: 85.5% (491 of 574 functions)
branches...: 57.5% (7040 of 12250 branches)
file:///home/user/asn1c/asn1c-0.9.28-coverage/index.html
Open the index.html with a web browser
Diffstat (limited to 'libasn1fix')
-rw-r--r-- | libasn1fix/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libasn1fix/Makefile.am b/libasn1fix/Makefile.am index 71df46a9..5e506ccd 100644 --- a/libasn1fix/Makefile.am +++ b/libasn1fix/Makefile.am @@ -1,3 +1,4 @@ +@CODE_COVERAGE_RULES@ AM_CFLAGS = @ADD_CFLAGS@ AM_CPPFLAGS = \ |