test/mempool: add unit test cases
authorPallantla Poornima <pallantlax.poornima@intel.com>
Tue, 10 Sep 2019 13:25:27 +0000 (14:25 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 24 Oct 2019 11:35:44 +0000 (13:35 +0200)
commit923ceaeac140e1579abafb56f4131db542add903
tree95307d6dacc12f303a970dab0652db88b91e52ad
parentc425fb6b9b3264dfe5d212fe80151cfd800b907c
test/mempool: add unit test cases

Added UT to cover below functions:
- rte_mempool_populate_anon(),
- rte_mempool_mem_iter(),

Those additions also cover mempool internals:
rte_mempool_memchunk_anon_free() and get_anon_size().

Signed-off-by: Pallantla Poornima <pallantlax.poornima@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_mempool.c