libosmocore/m4
Vasil Velichkov 499510bd52 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
2019-11-30 02:17:23 +00:00
..
DUMMY Create a dummy m4 directory to make autoreconf --install --force work 2010-03-24 02:55:33 +01:00
ax_check_compile_flag.m4 configure.ac: add SIMD detection capabilities 2017-05-07 23:11:06 +07:00
ax_check_simd.m4 conv_acc: Our code requires SSSE3, not just SSE3 2017-11-17 11:44:22 +01:00
ax_pthread.m4 logging: Introduce mutex API to manage log_target in multi-thread envs 2019-10-09 14:19:52 +02:00
check_tls_gcc_arm_bug.m4 configure: Allow disabling workaround for TLS bug in old ARM gcc versions 2019-08-06 12:50:26 +02:00
osmo_ac_code_coverage.m4 Add code coverage support 2019-11-30 02:17:23 +00:00
osmo_ax_code_coverage.m4 Add code coverage support 2019-11-30 02:17:23 +00:00