From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wes1-so2.wedos.net (wes1-so2.wedos.net [46.28.106.16]) by dpdk.org (Postfix) with ESMTP id 2BD9029CB for ; Thu, 5 May 2016 19:07:35 +0200 (CEST) Received: from pcviktorin.fit.vutbr.cz (pcviktorin.fit.vutbr.cz [147.229.13.147]) by wes1-so2.wedos.net (Postfix) with ESMTPSA id 3r11Yf6mb9zq6; Thu, 5 May 2016 19:07:34 +0200 (CEST) Date: Thu, 5 May 2016 19:05:40 +0200 From: Jan Viktorin To: Bruce Richardson Cc: dev@dpdk.org, Thomas Monjalon , David Marchand Message-ID: <20160505190540.5e4c8422@pcviktorin.fit.vutbr.cz> In-Reply-To: <20160505133300.GA15140@bricha3-MOBL3> References: <1461935496-20367-1-git-send-email-viktorin@rehivetech.com> <1461935496-20367-5-git-send-email-viktorin@rehivetech.com> <20160505133300.GA15140@bricha3-MOBL3> Organization: RehiveTech MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC 4/4] app/test: support resources archived by tar X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2016 17:07:35 -0000 On Thu, 5 May 2016 14:33:01 +0100 Bruce Richardson wrote: > On Fri, Apr 29, 2016 at 03:11:36PM +0200, Jan Viktorin wrote: > > When needing a more complex resource (a file hierarchy), packing every single > > file as a single resource would be very ineffective. For that purpose, it is > > possible to pack the files into a tar archive, extract it before test from the > > resource and finally clean up all the created files. > > > > This patch introduces functions resource_untar and resource_rm_by_tar to > > perform those tasks. An example of using those functions is included as a test. > > > > Signed-off-by: Jan Viktorin > We might want to make this configurable on/off at build time, since it adds a new > dependency for building dpdk - libarchive-devel. This is true. Unfortunately... Is it a problem to introduce such dependency into the test app? Would it be help to use another similar (more spread) library (zlib)? Jan > > /Bruce -- Jan Viktorin E-mail: Viktorin@RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Brno, Czech Republic