Skip to content

Branch Exclusion Marker // LCOV_EXCL_BR_LINE Fails to Work in LCOV 2.3.1-1 with Filter Settings​ #415

Closed
@zchangming

Description

@zchangming

Image
Environment:​​

LCOV version: 2.3.1-1
genhtml version: 2.3.1-1
Compiler: GCC 9.3.0
​​Commands Used:​​

Coverage capture

lcov --capture --directory . --output-file coverage.info
--rc branch_coverage=1
--rc c_file_extensions=c,cpp,hpp,h,inl
--filter branch,exception
--ignore-errors mismatch,mismatch,child,count,count,inconsistent,inconsistent

Report generation

genhtml coverage.info --output-directory coverage_report
--rc branch_coverage=1
--rc c_file_extensions=c,cpp,hpp,h,inl
--filter branch,exception
--ignore-errors mismatch,mismatch,child,count,count,inconsistent,inconsistent

Branch Exclusion Marker // LCOV_EXCL_BR_LINE Fails to Work in LCOV 2.3.1-1 with Filter Settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions