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 11:28:11 +0000 Message-ID: References: <20170214151326.7554-1-ferruh.yigit@intel.com> <20170215021122.GW20916@yliu-dev.sh.intel.com> <56b87137-6dd2-717c-b7bc-c55663c8c71f@intel.com> <19837397.b49UENGBL6@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Yuanhan Liu , "Richardson, Bruce" , dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 58FB398 for ; Wed, 15 Feb 2017 12:28:13 +0100 (CET) In-Reply-To: <19837397.b49UENGBL6@xps13> 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 11:16 AM, Thomas Monjalon wrote: > 2017-02-15 10:06, Ferruh Yigit: >> 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 > > If I remember well, the dash is used in some make targets, not the underscore. Both usage exists, but if dash is the preferred way I will use it, rule will become "test-build"