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 AFBE3A04DD; Sun, 19 Jan 2020 22:50:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 346DB1E34; Sun, 19 Jan 2020 22:50:12 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by dpdk.org (Postfix) with ESMTP id 7C50E1BE0; Sun, 19 Jan 2020 22:50:10 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 77308482; Sun, 19 Jan 2020 16:50:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 19 Jan 2020 16:50:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=e2sQ03X/1ReY8q9samfK5zTu8IWOF8n0KQcXQL2rC/E=; b=n/r+MiMqFGvH rTVdXu6PJPWSey9qkkKZrh6LXOE6HFxdDaJ3mQszl+zCpx7MegFljwcFTdylHsC9 eronZpwLyuOeKkz0BwLDaSoM3czw3x2mU73R1epkkC1KVRe2HQ7XDAQ+rjfAiEfg dBs6p0DvIv7aWfCJ0B9YCE86Qny3Oq0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=e2sQ03X/1ReY8q9samfK5zTu8IWOF8n0KQcXQL2rC /E=; b=T/MifNVjuy0ud2L/w5qSWAAv+m8/StyouQXZ895XqIZphttN+vyn3UoVN gCl39MgHYqsncgX6Im9FDv27qRTHL3vb7Q0gldUCLPCKsH2zpkCGuiEGGKLOR/ph DDnPXN+e6EaXEFzcSDPEYRElBN5U9h3WoAsRvW01KywGluc2HrvbHbEGp7uaBvTR 9oJShX5HPPzD7BAfNEsRYoKZBUCjfSTZLdhN4E8u+NcsBmmQ/SOzf+e44PwrTdxU QOKq42je4O41TT6nFmAwYKUQOCFsDIjrAW+BosPJOSyCaKCLBbhU1VKq/GF0J6dt ZXdCJEOjcBPruZNxgypelX1zDDEdQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudefgdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuff homhgrihhnpehtrhgrvhhishdqtghirdgtohhmnecukfhppeejjedrudefgedrvddtfedr udekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonh drnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 088423060AA0; Sun, 19 Jan 2020 16:50:06 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: stable@dpdk.org, Nikhil Rao , Chas Williams , Bruce Richardson , Stephen Hemminger , Reshma Pattan Date: Sun, 19 Jan 2020 22:50:06 +0100 Message-ID: <4605926.oAaWjsssbx@xps> In-Reply-To: <20191223065305.18434-1-reshma.pattan@intel.com> References: <20191218115831.4035-1-reshma.pattan@intel.com> <20191223065305.18434-1-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5] app/test: fix build when ring PMD is disabled 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" Someone to review please? 23/12/2019 07:53, Reshma Pattan: > Some unit tests has dependency on RING PMD, > so this patch is trying to fix those and other > closely related issues. > > 1)pdump, latency, bitrate, ring PMD and test_event_eth_tx_adapter > unit tests are dependent on ring PMD, so compile those > tests only when ring PMD is enabled else ignore. > > 2)get rid of make file error which was added by bond unit test > for ring PMD disabled case which is not necessary. > > 3)Tx adapter UT is dependent on RING PMD, but it was > observed that it was missing from the run in meson > build, so added it. TX adapter UT uses 'sw event and > 'null' pmd drivers, so for shared builds the drivers .so > path has to be passed to the test args of meson UT run. > > Fixes: 086eb64db3 ("test/pdump: add unit test for pdump library") > Fixes: fdeb30fa71 ("test/bitrate: add unit tests for bitrate library") > Fixes: 1e3676a06e ("test/latency: add unit tests for latencystats library") > Fixes: 46cf97e4bb ("eventdev: add test for eth Tx adapter") > Fixes: d23e09e0ef ("app/test: link with ring pmd when needed") > > CC: stable@dpdk.org > CC: Nikhil Rao > CC: Chas Williams > CC: Bruce Richardson > CC: Stephen Hemminger > > Reported-by: Stephen Hemminger > Signed-off-by: Reshma Pattan > --- > v5: remove extra blank line. > v4: fix event_eth_tx_adapter_autotest for shared build > as reported by travis-ci > https://travis-ci.com/ovsrobot/dpdk/jobs/249598391 > v3: add missing test event_eth_tx_adapter_autotest. > Add link bonding mode4 test to drivers test. > v2: fix comments of v1 and combine the patches 1/2 and 2/2 of v1 > --- > app/test/Makefile | 16 +++++----------- > app/test/meson.build | 36 ++++++++++++++++++++++-------------- > app/test/process.h | 8 ++++++++ > app/test/test.c | 2 ++ > 4 files changed, 37 insertions(+), 25 deletions(-)