From 499510bd521279e406ea3c0126923264341faa03 Mon Sep 17 00:00:00 2001 From: Vasil Velichkov Date: Wed, 3 Apr 2019 02:32:37 +0300 Subject: Add code coverage support The coverage report shows what code is covered by tests and what is not and the ratio could be tracked over time. These reports will allow us to identify code that is not being tested and improve the test suites. To enable the reports configure with --enable-code-coverage and execute "make check-code-coverage". The HTML report will be generated in a subdirectory with name libosmocore-$(PACKAGE_VERSION)-coverage/index.html The report is generated using gcov, lcov and lcov_cobertura tools and the OSMO_AC_CODE_COVERAGE macro. The osmo_ax_code_coverage.m4 is a copy of ax_code_coverage.m4 taken from autoconf-archive v2018.03.13. It was copied to avoid the additional external dependency and renamed to avoid overwriting it in case autoconf-archive is already installed as we are going to install it in $(datadir)/aclocal in order to be reused in other osmocom's projects. Closes: OS#1987 Change-Id: I6f4ffb91bd7f3dd070aa09dd16d5ad1faf130a4c --- debian/libosmocore-dev.install | 1 + 1 file changed, 1 insertion(+) (limited to 'debian') diff --git a/debian/libosmocore-dev.install b/debian/libosmocore-dev.install index 944a7bf1..4a7e0afc 100644 --- a/debian/libosmocore-dev.install +++ b/debian/libosmocore-dev.install @@ -4,3 +4,4 @@ usr/lib/*/lib*.so usr/lib/*/lib*.la usr/lib/*/pkgconfig/* usr/bin/osmo-release.sh +usr/share/aclocal/osmo*.m4 -- cgit v1.2.3