From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [RFC 17.05] test: move tests to separate folder Date: Wed, 15 Feb 2017 10:06:33 +0000 Message-ID: <56b87137-6dd2-717c-b7bc-c55663c8c71f@intel.com> References: <20170214151326.7554-1-ferruh.yigit@intel.com> <20170214154131.GA20524@bricha3-MOBL3.ger.corp.intel.com> <8e969f23-6a65-553e-25ca-593c01c9fe8b@intel.com> <59AF69C657FD0841A61C55336867B5B035B9815F@IRSMSX103.ger.corp.intel.com> <20170215021122.GW20916@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Thomas Monjalon , "dev@dpdk.org" To: Yuanhan Liu , "Richardson, Bruce" Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 5B4392C54 for ; Wed, 15 Feb 2017 11:06:36 +0100 (CET) In-Reply-To: <20170215021122.GW20916@yliu-dev.sh.intel.com> 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 2/15/2017 2:11 AM, Yuanhan Liu wrote: > On Tue, Feb 14, 2017 at 05:30:14PM +0000, Richardson, Bruce wrote: >> Just to be awkward :-), one last question: Why separate building and running >> the tests? My suggestion would be to have "make test" both build and run the >> tests. If there is no work to do in building them, then the time cost of the >> extra empty build is negligible compared to the time taken to actually run >> the tests. > > +1 > Makes sense. I will update as: "make test" -> compile and run test "make test_build" -> only compile test (newly added "make test_run" will go away) thanks, ferruh > --yliu > >> If we really want to build the tests without running them I'd >> suggest "build_test" target instead. This keeps "make test" pretty much as >> it was before. >> >> /Bruce