[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <53E235DE.70604@samsung.com>
Date: Wed, 06 Aug 2014 08:04:14 -0600
From: Shuah Khan <shuah.kh@...sung.com>
To: Michal Marek <mmarek@...e.cz>, gregkh@...uxfoundation.org
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Shuah Khan <shuah.kh@...sung.com>
Subject: Re: [PATCH] kbuild: devtest - new make target for build all and run
tests
On 08/06/2014 07:51 AM, Michal Marek wrote:
> On 2014-07-18 22:44, Shuah Khan wrote:
>> Add a new devtest make target to enable developer testing. This
>> new target does full build (make all) and then runs selftests.
>
> I agree with Sam that the name is rather ambiguous, but I can't suggest
> a better alternative right now.
Does kselftest or kern_selftest sound better?
>
>
>> Signed-off-by: Shuah Khan <shuah.kh@...sung.com>
>> ---
>> Makefile | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>>
>> diff --git a/Makefile b/Makefile
>> index f3c543d..1ef3128 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -1034,6 +1034,14 @@ headers_check: headers_install
>> $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst) HDRCHECK=1
>>
>> # ---------------------------------------------------------------------------
>> +# Kernel devtest
>> +
>> +PHONY += devtest
>> +devtest:
>> + make all
>
> devtest: all
>
>
>> + make -C tools/testing/selftests run_tests
>
> Please use $(Q)$(MAKE), to keep the build silent by default and to
> consistently use the same make program with the same options throughout
> the build.
>
Working on the change - send v2 patch.
-- Shuah
--
Shuah Khan
Senior Linux Kernel Developer - Open Source Group
Samsung Research America(Silicon Valley)
shuah.kh@...sung.com | (970) 672-0658
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists