]> git.ipfire.org Git - thirdparty/bind9.git/commit
Exclude fuzz directory from code coverage report
authorMichal Nowak <mnowak@isc.org>
Fri, 18 Nov 2022 12:30:32 +0000 (13:30 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 23 Nov 2022 13:54:54 +0000 (14:54 +0100)
commit3b5e9666c68bc54bb21ffdbb2bb47605cf779313
treef55541661a6fb438e8db81061a3787b88030d991
parentf9018a63cf6d0b8f48f0a368a828f08d94554b67
Exclude fuzz directory from code coverage report

gcovr fails to process fuzz/old.gcda and fuzz/old.gcno files after !7045
MR with:

    (WARNING) GCOV produced the following errors processing /builds/isc-projects/bind9/fuzz/old.gcda:
     Cannot open source file ../../fuzz/old.c
    Cannot open source file ../../lib/dns/include/dns/compress.h
    Cannot open source file ../../lib/isc/include/isc/buffer.h
    ...
    (gcovr could not infer a working directory that resolved it.)

Given that code coverage inspection is meant only for BIND 9 code and
not its tests and auxiliary tools, the "fuzz" directory should be
excluded from being included in the code coverage report.
.gitlab-ci.yml