diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-05-24 17:34:31 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-05-24 17:34:31 +0200 |
commit | 35788e367e3e1798c89cc6d7d69a0cbdd5558ea0 (patch) | |
tree | aba05b9aa6fcbf4faedffa759b0e045baa9e91f9 /Makefile.am | |
parent | 398e23af5e03aea295cd71e852b97ad68094da9b (diff) | |
download | gnutls-35788e367e3e1798c89cc6d7d69a0cbdd5558ea0.tar.gz |
Makefile: improved code coverage extraction from lcov output
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 31288a33a6..dc8f23f0de 100644 --- a/Makefile.am +++ b/Makefile.am @@ -118,7 +118,7 @@ symbol-check: @CODE_COVERAGE_RULES@ local-code-coverage-output: code-coverage-capture - cat GnuTLS-$(VERSION)-coverage/index.html|grep headerCovTableEntryLo|head -1|sed 's/^.*>\([0-9]\+\.[0-9]\+\s*%\)<.*$$/ coverage lines: \1/' || true + cat GnuTLS-$(VERSION)-coverage/index.html|grep headerCovTableEntry|grep '%'|head -1|sed 's/^.*>\([0-9]\+\.[0-9]\+\s*%\)<.*$$/ coverage lines: \1/' || true libopts-check: @echo "*****************************************************************" |