From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id BEB62A045E for ; Thu, 30 May 2019 14:20:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BAC421B94C; Thu, 30 May 2019 14:20:34 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 3AEE31B948 for ; Thu, 30 May 2019 14:20:32 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 May 2019 05:20:31 -0700 X-ExtLoop1: 1 Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.64]) by orsmga004.jf.intel.com with SMTP; 30 May 2019 05:20:28 -0700 Received: by (sSMTP sendmail emulation); Thu, 30 May 2019 13:20:28 +0100 Date: Thu, 30 May 2019 13:20:27 +0100 From: Bruce Richardson To: Ilya Maximets Cc: dev@dpdk.org, Thomas Monjalon , Aaron Conole , Kevin Traynor Message-ID: <20190530122027.GC1279@bricha3-MOBL.ger.corp.intel.com> References: <20190529163958.30796-1-i.maximets@samsung.com> <20190529163958.30796-2-i.maximets@samsung.com> <20190530115558.GA1279@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Subject: Re: [dpdk-dev] [PATCH 1/2] meson: don't check dependencies for tests if not required 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" On Thu, May 30, 2019 at 03:06:17PM +0300, Ilya Maximets wrote: > On 30.05.2019 14:55, Bruce Richardson wrote: > > On Wed, May 29, 2019 at 07:39:57PM +0300, Ilya Maximets wrote: > >> Don't need to check dependencies if test apps will not be built anyway. > >> > >> Signed-off-by: Ilya Maximets > >> --- > >> app/test/meson.build | 38 +++++++++++++++++++------------------- > >> 1 file changed, 19 insertions(+), 19 deletions(-) > >> > > Agree with the idea. > > > > Would this work as a shorter alternative placed at the top of the file? > > > > if not get_option('tests') > > subdir_done() > > endif > > This looks good to me. > However, the resulted patch will be much larger because we'll have to > shift most of it to the left. If it's OK, I'll prepare v2 with this change. > What do you think? > Yes, there will be some left-shifting, but it should just be a single block from lines 338-419, which is probably ok. The end result is better, I think.