gcov / test framework: sigterm not sigkill 79/19379/2
authorDave Barach <dave@barachs.net>
Mon, 6 May 2019 14:49:41 +0000 (10:49 -0400)
committerPaul Vinciguerra <pvinci@vinciconsulting.com>
Mon, 6 May 2019 20:48:51 +0000 (20:48 +0000)
commitad64687e8bc3e208797ce1d5b16936f51d6cf632
tree14f15c2f326bda0bbc4d05c2f73bae9f5c71c0c0
parentd7566cb70bbd1917e25e47c08a26c72451d86794
gcov / test framework: sigterm not sigkill

Otherwise, gcov data vanishes without a trace.

Add a __gcov_flush() call to the unix signal handler, under #ifdef
CLIB_GCOV. Add -DCLIB_GCOV to vpp_gcov_TAG_CFLAGS.

Change-Id: I2726e671b26dfbe7fae88f46a8207bb2b5106884
Signed-off-by: Dave Barach <dave@barachs.net>
build-data/platforms/vpp.mk
src/vlib/unix/main.c
test/framework.py
test/test_vcl.py