Skip to content

lcov fails with code error == 0 #22

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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