[dpdk-dev] [RFC 17.05] test: move tests to separate folder

Ferruh Yigit ferruh.yigit at intel.com
Wed Feb 15 12:28:11 CET 2017


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"


More information about the dev mailing list