test: fix build without timer library
authorTimothy Redaelli <tredaelli@redhat.com>
Thu, 4 Jul 2019 15:36:08 +0000 (17:36 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Jul 2019 08:48:55 +0000 (10:48 +0200)
commitd3065379ff2cd4b937aeccc7e99a8dd3dfd0fa20
tree79aecbc3f818e6cfd478ba2a674e416d4aaa3841
parente8428710f84675b7c84bf81b108de7e36ae3147a
test: fix build without timer library

The action for timer_secondary_spawn_wait should be enabled only when
CONFIG_RTE_LIBRTE_TIMER is enabled.

Fixes: 50247fe03fe0 ("test/timer: exercise new APIs in secondary process")
Cc: stable@dpdk.org
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
app/test/test.c