From patchwork Thu Jul 4 15:36:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timothy Redaelli X-Patchwork-Id: 56089 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C9A6731FC; Thu, 4 Jul 2019 17:36:36 +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 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-dev] [PATCH] test: fix build without timer X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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)