From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [RFC 4/4] app/test: support resources archived by tar Date: Thu, 5 May 2016 14:33:01 +0100 Message-ID: <20160505133300.GA15140@bricha3-MOBL3> References: <1461935496-20367-1-git-send-email-viktorin@rehivetech.com> <1461935496-20367-5-git-send-email-viktorin@rehivetech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Thomas Monjalon , David Marchand To: Jan Viktorin Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id F27AD37B8 for ; Thu, 5 May 2016 15:33:04 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1461935496-20367-5-git-send-email-viktorin@rehivetech.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. /Bruce