test: fix build without pdump
authorReshma Pattan <reshma.pattan@intel.com>
Wed, 20 Mar 2019 11:33:19 +0000 (11:33 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 27 Mar 2019 00:09:14 +0000 (01:09 +0100)
commit6d27d8c0548ea9832f3bc4dc50a9e2ab2e05f00c
tree89cde3b682969aa65852f4b34521726b79660429
parentb9a842674b7169b1fb69fdee0986ed0e9c443d6d
test: fix build without pdump

pdump unit test has dependency on pthread code
in test.c and process.h to run send_pkts(),
this code should be enabled only when
CONFIG_RTE_LIBRTE_PDUMP is enabled.

Bugzilla ID: 222

Fixes: 086eb64db3 ("test/pdump: add unit test for pdump library")
Cc: stable@dpdk.org
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
app/test/process.h
app/test/test.c