test/pmd_ring: restructure and cleanup
authorChaitanya Babu Talluri <tallurix.chaitanya.babu@intel.com>
Wed, 26 Sep 2018 13:11:25 +0000 (14:11 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Oct 2018 02:59:41 +0000 (03:59 +0100)
commit6e20a0835ec5bb30a85dff40d26d3b3ee7af7b29
tree41ddef5d351e3aa6310f9b3c8eaed732218a28e8
parentca33f9cb9d6d1aced0f5ff006a0260b8d551e91c
test/pmd_ring: restructure and cleanup

Divided main test to smaller logical tests.
Registered with UT framework.
Added cleanup of the resources else ring creation fails
during consecutive test runs.
Freed the allocated mempool, rings and uninitalized the drivers.

Signed-off-by: Chaitanya Babu Talluri <tallurix.chaitanya.babu@intel.com>
Reviewed-by: Reshma Pattan <reshma.pattan@intel.com>
test/test/test_pmd_ring.c