From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2ABD6A0487 for ; Thu, 4 Jul 2019 17:36:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0A6DB4C93; Thu, 4 Jul 2019 17:36:39 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 7AFE92C2B; Thu, 4 Jul 2019 17:36:35 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0F54A307D85E; Thu, 4 Jul 2019 15:36:28 +0000 (UTC) Received: from aldebaran.drizzt.lan (dhcp19-189-71.ntdv.lab.eng.bos.redhat.com [10.19.189.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id 71FDA96AA5; Thu, 4 Jul 2019 15:36:22 +0000 (UTC) From: Timothy Redaelli To: Thomas Monjalon Cc: dev@dpdk.org, erik.g.carrillo@intel.com, stable@dpdk.org Date: Thu, 4 Jul 2019 17:36:08 +0200 Message-Id: <59d6b403fd875f8dac9b4f3d85725b95cb462b17.1562254062.git.tredaelli@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Thu, 04 Jul 2019 15:36:34 +0000 (UTC) Subject: [dpdk-stable] [PATCH] test: fix build without timer X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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: erik.g.carrillo@intel.com 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 194a92a39..cd7aaf645 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.21.0