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 810DBA10DA for ; Fri, 2 Aug 2019 22:32:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AE6C21C2A1; Fri, 2 Aug 2019 22:32:12 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 7D0B51C29F for ; Fri, 2 Aug 2019 22:32:10 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CF1DC2179E; Fri, 2 Aug 2019 16:32:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 02 Aug 2019 16:32:09 -0400 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=0MCulN5wNg4Li471BbF4ABgwEhXd+M7AxxLJSaSPyek=; b=ciI3Io9mgmnp zSVoNIlZN3AmqtCI0/d/XYcrrYyU9vRvO2km9ZP4MpkHzaICy7zYxLg5prDIWt7J WW+FB/Ahrooek3fARgJnz44RPXgqm1h6mvy8+gw5ttzB8qmds2gQA3XuhfyPhEJn NigJ0QtBr9y1Omn0KnFfA9lrNZbyMVs= 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=fm3; bh=0MCulN5wNg4Li471BbF4ABgwEhXd+M7AxxLJSaSPy ek=; b=xfEoKnyfxlSxJ0AgJlT0U7HIXUt6hx00Dhwm5KsqepFQDAQTHyhCzeL3H yGIjOM556V+BYxiFbvL9iXcgqMyCM+SFwo7FpwTFPkQJu4ucWM4GuZCSLoQxZuxV K/Np+rrYgig3wn0EC9x2tUX4qJAFEgGf0lBVSzK/Wg7Hg0mPrxpyfQ0l83Amndd9 hDyv4NqU/VTFD2kss4lPJmJxZTWZYlQbrf18+vju0Y7bvpIRyYY1SPDa2QKqRcvs jxhwZCH0+9su3zi4GdIfohmrWPZGZzG5iAwuXGEYMAe72IBE3RgrDU49gRmdNO7l Oces+LrwZqCVBCzIYZ2h9qN7uGaRQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleelgdduvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 9A552380076; Fri, 2 Aug 2019 16:32:07 -0400 (EDT) From: Thomas Monjalon To: Aaron Conole Cc: dev@dpdk.org, Michael Santana , David Marchand , Bruce Richardson , Ferruh Yigit , Luca Boccassi Date: Fri, 02 Aug 2019 22:32:06 +0200 Message-ID: <3128132.jsL9bJ4oNI@xps> In-Reply-To: <20190731145030.19956-2-aconole@redhat.com> References: <20190731145030.19956-1-aconole@redhat.com> <20190731145030.19956-2-aconole@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 1/2] tests: Fix unit tests for shared builds 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" 31/07/2019 16:50, Aaron Conole: > From: Michael Santana > --- a/app/test/meson.build > +++ b/app/test/meson.build > +if dpdk_conf.has('RTE_LIBRTE_RING_MEMPOOL') > + test_deps += 'mempool_ring' > +endif > +if dpdk_conf.has('RTE_LIBRTE_STACK_MEMPOOL') > + test_deps += 'mempool_stack' > +endif > +if dpdk_conf.has('RTE_LIBRTE_SKELETON_EVENTDEV_PMD') > + test_deps += 'pmd_skeleton_event' > +endif > if dpdk_conf.has('RTE_LIBRTE_PDUMP') > test_deps += 'pdump' > endif As these libraries are dynamically loadable as plugins, it should be explained in comments that this explicit linking is an exception to allow the developer run the unit tests without intalling the libraries. Otherwise, other applications will copy it.