Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • mHM mHM
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 49
    • Issues 49
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mhmmhm
  • mHMmHM
  • Merge requests
  • !50

Online Coverage Report

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sebastian Müller requested to merge muellese/mhm:coverage into develop Sep 26, 2020
  • Overview 5
  • Commits 18
  • Pipelines 1
  • Changes 7

This MR introduces automatic coverage calculation, which is added as a separate page to the auto-generated online documentation.

coverage

This uses gcov from gcc7.3. Coverage was added as a target in the CMakeLists.txt and in order to execute coverage calculation you have to do the following:

mkdir build && cd build
cmake -DCMAKE_WITH_COVERAGE:STRING=ON ..
make mhm_coverage_CI

As an addition, the mhm executable can now be called with a passed directory path, where mhm should be executed in. This feature is likely to change in the future.

Edited Sep 28, 2020 by Sebastian Müller
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: coverage