]> git.ipfire.org Git - thirdparty/util-linux.git/commit
ci: collect coverage on _exit() as well
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 20 Jun 2023 21:01:35 +0000 (23:01 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 22 Jun 2023 10:03:04 +0000 (12:03 +0200)
commitb0d003023cabecd45402a4d8e2529940ec778735
tree70f5621245827765f540ddcd9505c7b8df1d8ff1
parentb4b8f8c293507cbe86dbe55c9c955e511279d673
ci: collect coverage on _exit() as well

_exit() skips the gcov hooks, so we lose all coverage collected up to
that point. Let's work around this by intercepting _exit() with our
wrapper that calls __gcov_dump() just before _exit().
Makefile.am
include/Makemodule.am
include/coverage.h [new file with mode: 0644]