From d3065379ff2cd4b937aeccc7e99a8dd3dfd0fa20 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Thu, 4 Jul 2019 17:36:08 +0200 Subject: [PATCH] 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 --- app/test/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test/test.c b/app/test/test.c index 194a92a398..cd7aaf645f 100644 --- a/app/test/test.c +++ b/app/test/test.c @@ -67,7 +67,9 @@ do_recursive_call(void) { "test_memory_flags", no_action }, { "test_file_prefix", no_action }, { "test_no_huge_flag", no_action }, +#ifdef RTE_LIBRTE_TIMER { "timer_secondary_spawn_wait", test_timer_secondary }, +#endif }; if (recursive_call == NULL) -- 2.20.1