Skip to content

geninfo chokes on files names '$x/.._filename.c.gcda' #168

@EvanTheB

Description

@EvanTheB

geninfo tests/flashrom_unit_tests.p/

Processing flashrom_unit_tests.p/.._flashrom.c.gcda
geninfo: WARNING: GCOV did not produce any data for flashrom/buildcov/tests/flashrom_unit_tests.p/.._flashrom.c.gcda

gcov tests/flashrom_unit_tests.p/.._flashrom.c.o

File '../flashrom.c'
Lines executed:54.73% of 771
Creating 'flashrom.c.gcov'

File '../include/programmer.h'
Lines executed:0.00% of 6
Creating 'programmer.h.gcov'

Lines executed:54.31% of 777

Files with this strange name are produced by meson build system, there are many bugs around about this for meson projects, but I didn't find one here on lcov which seems to be the source of the bug.

mesonbuild/meson#6747

mesonbuild/meson#9844

linux-nvme/libnvme#393

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