Skip to content

Header files in install directories are filtered out of the results #9

@ghost

Description

If I have two packages in my workspace, one defining a class with implementation details in a header file and the other including that header file

my_ws
 - src
   - package_a
     - package_a.h
  - package_b
     - package_b.cpp (includes package_a/package_a.h)

Package_b picks up the package_a.h header from the workspace install directory. The .gcda file associated with package_b.cpp will refer to my_ws/install/package_a/package_a.h

However, any coverage data for files listed in the install directories is getting filtered out of the lcov-results. Only files in build and src have their data reported.

As a result, if package_a.h is only executed by cpp files in other packages, no coverage data is reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions