[PATCH 0/4] code coverage support

Jakub Sitnicki jsitnicki at gmail.com
Sun Jan 11 06:07:19 PST 2015


Hi,

This patchset adds support for collecting code coverage data when
running ModemManager's test suite, and generating a coverage report
from it using LCOV.

It makes use of AX_CODE_COVERAGE macro from autoconf-archive [1]
(which has replaced GNOME_CODE_COVERAGE used by NetworkManager).

The patchset also includes a clean-up of a previous unfinished (?)
attempt to add code coverage support, and a small fix needed to
collect coverage data when ModemManager process quits due to a
SIGINT/SIGTERM.

Thanks,
Jakub

[1] http://www.gnu.org/software/autoconf-archive/ax_code_coverage.html

Jakub Sitnicki (4):
  build: remove incomplete support for code coverage
  build: include ax_code_coverage.m4 serial 5
  build: add code coverage support
  core: perform clean-up when terminating due to a Unix signal

 .gitignore                             |   5 +
 Makefile.am                            |   7 +
 configure.ac                           |   9 ++
 gtester.make                           |  20 ---
 libmm-glib/Makefile.am                 |   6 +-
 libmm-glib/generated/Makefile.am       |   3 +
 libmm-glib/generated/tests/Makefile.am |   3 +-
 libmm-glib/tests/Makefile.am           |   3 +
 libqcdm/src/Makefile.am                |   4 +-
 libqcdm/tests/Makefile.am              |   3 +
 libwmc/src/Makefile.am                 |   4 +-
 libwmc/tests/Makefile.am               |   3 +
 m4/ax_code_coverage.m4                 | 229 +++++++++++++++++++++++++++++++++
 plugins/Makefile.am                    |   9 +-
 src/Makefile.am                        |   3 +
 src/main.c                             |   2 +-
 src/tests/Makefile.am                  |   3 +
 17 files changed, 289 insertions(+), 27 deletions(-)
 create mode 100644 m4/ax_code_coverage.m4

-- 
1.9.3



More information about the ModemManager-devel mailing list