diff options
author | Dave Barach <dave@barachs.net> | 2020-06-15 17:38:12 -0400 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2020-06-20 01:58:34 +0000 |
commit | 3a49130c75caa153cc65471fd860340cb13dcd90 (patch) | |
tree | a6c69e39e1eefe324103941a5893f925a9c2bed5 /src/vnet/mfib/mfib_api.c | |
parent | 12b517b3ffe3ca4b447263548cfa2bcac857c836 (diff) |
tests: improve lcov stats for memory_api.c
Cover vl_mem_api_dead_client_scan(...), which is not so simple. Spin
up vpp_api_test using pexpect.spawn, make it bootstrap a private
memory segment, kill vpp_api_test, and wait for the dead client
scanner to run a few times so that it declares the client dead.
The test only runs if GCOV_TESTS=yes is set in the environment.
Type: test
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I3c712fa011df2e23761a2e73c1aba0c7e50123a6
Diffstat (limited to 'src/vnet/mfib/mfib_api.c')
0 files changed, 0 insertions, 0 deletions