Skip to content

Add code coverage analysis

Leo P. Singer requested to merge leo-singer/lalsuite:coverage into master

Description

Add C code coverage analysis using gcov, lcov, and the AX_CODE_COVERAGE autoconf macro.

API Changes and Justification

We aren't yet measuring code coverage, but we ought to. I'm working on a bug fix for some of my own code in LALSuite, and it's crucial that the particular code that I am working on has code coverage measurement. I thought I'd be a good citizen and implement code coverage analysis in GitLab CI for all of LALSuite.

Note that after merging, someone such as @adam-mercer or @duncanmmacleod should add a coverage badge to the GitLab project that links to the HTML coverage report in GitLab Pages.

Backwards Compatible Changes

  • This change introduces no API changes
  • This change adds new API calls

Backwards Incompatible Changes

  • This change modifies an existing API
  • This change removes an existing API

Review Status

N/A.

Edited by LALSuite Bot

Merge request reports