Skip to content

lcov fails with code error == 0 #22

@dajose

Description

@dajose

This line is wrong https://github.com/kuralabs/flowbber/blob/master/lib/flowbber/plugins/sources/lcov.py#L263

As there are cases where lcov fails, yet the code is 0

$ lcov --rc lcov_branch_coverage=1 --directory /foo/ -capture --output-file /tmp/tmp8hlgxlg7
Capturing coverage data from /foo/
Found gcov version: 5.4.0
Scanning /foo/ for .gcda files ...
geninfo: WARNING: no .gcda files found in /foo/ - skipping!
Finished .info-file creation
$ echo $?
0

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