]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
ci: compute run code coverage only if explicitly requested by variable
authorPetr Špaček <petr.spacek@nic.cz>
Mon, 6 Aug 2018 16:37:54 +0000 (18:37 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Tue, 7 Aug 2018 13:08:38 +0000 (15:08 +0200)
commit7e140501dfc3741b56fc85e00e0f43fc7f3559ce
treec559078d92ac41c163efffd75ed9aa545f34f3ec
parent899a2735a77ca4d103ad5dbd47b444d6ff96fa7b
ci: compute run code coverage only if explicitly requested by variable

Sometimes, for a unknown reason, coverage computation fails in Deckard pipeline:

$ MAKEFLAGS="--jobs $(nproc)" make coverage-c coverage-lua COVERAGE_STAGE=gcov-deckard 2>&1 | grep -vE '(source file is newer than notes file)|(the message is displayed only once per source file)'
lcov: Need one of options -z, -c, -a, -e, -r, -l, --diff or --summary
Use lcov --help to get usage information
coverage.mk:15: recipe for target 'coverage-c' failed
make: *** [coverage-c] Error 255

This is now normally disabled not to interfere with normal development.
.gitlab-ci.yml