Skip to content

Coverage reports fail to generate with LCOV 2.x #100

@nicholasphair

Description

@nicholasphair

LCOV version 2.0 was released earlier this year. It is now the default version distributed by homebrew.

It seems tipc is incompatible with version 2.x. bin/gencov.sh leads to errors.

$ ./bin/gencov.sh
...
Processing /opt/devel/repos/sipc/build/src/semantic/weeding/CMakeFiles/weeding.dir/CheckAssignable.cpp.gcda
Processing /opt/devel/repos/sipc/build/src/error/CMakeFiles/error.dir/Error.cpp.gcda
Excluded data for 145 files due to include/exclude options
geninfo: ERROR: "/opt/devel/repos/sipc/src/semantic/types/solver/Substituter.h":7:  function _ZN11SubstituterD1Ev found on line but no corresponding 'line' coverage data point.  Cannot derive function end line.
...

Downgrading to version 1.x fixes the error.

Portal currently provides 1.14.

$ lcov -version
lcov: LCOV version 1.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions