Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage #682

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Coverage #682

wants to merge 4 commits into from

Commits on Oct 23, 2023

  1. Import CodeCoverage.cmake

    From https://github.com/bilke/cmake-modules commit 877bab9dd1b17468c5d939cacaa2ad7ba99d1977
    
    Signed-off-by: Marcus Müller <[email protected]>
    marcusmueller committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    d7e4e3b View commit details
    Browse the repository at this point in the history
  2. Add Coverage Infrastructure

    Requirements:
    
    - gcc or clang
    - gcov
    - gcovr
    
    Usage:
    
    ```shell
    mkdir build-coverage && cd build-coverage
    cmake -DCMAKE_BUILD_TYPE=Coverage ..
    make -j
    make coverage
    firefox coverage/index.html
    ```
    
    Signed-off-by: Marcus Müller <[email protected]>
    marcusmueller committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    03c81f8 View commit details
    Browse the repository at this point in the history
  3. CodeCoverage: make distinction between CXX and C compiler flags

    This makes clang-16 builds possible.
    
    Signed-off-by: Marcus Müller <[email protected]>
    marcusmueller committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    7d25032 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. CMake/CodeCoverage: Add source reference

    Signed-off-by: Marcus Müller <[email protected]>
    marcusmueller committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    b458735 View commit details
    Browse the repository at this point in the history