On Mon, May 11, 2020 at 2:30 PM Alexander Lakhin <exclus...@gmail.com> wrote:
> > But I can confirm that calling __gcov_flush() in SignalHandlerForCrashExit() > really improves a code coverage report. > > Finally I've managed to get an expected coverage when I performed > $node_standby->stop() (but __gcov_flush() in SignalHandlerForCrashExit() > helps too). What happens if a coverage tool other than gcov is used? From that perspective, it's better to perform a clean shutdown in the TAP tests instead of immediate if that's possible. -- Best Wishes, Ashutosh Bapat