From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753523AbaHFNvk (ORCPT ); Wed, 6 Aug 2014 09:51:40 -0400 Received: from cantor2.suse.de ([195.135.220.15]:41900 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784AbaHFNvi (ORCPT ); Wed, 6 Aug 2014 09:51:38 -0400 Message-ID: <53E232E6.8060506@suse.cz> Date: Wed, 06 Aug 2014 15:51:34 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Shuah Khan , gregkh@linuxfoundation.org CC: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kbuild: devtest - new make target for build all and run tests References: <1405716274-24420-1-git-send-email-shuah.kh@samsung.com> In-Reply-To: <1405716274-24420-1-git-send-email-shuah.kh@samsung.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > Signed-off-by: Shuah Khan > --- > 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. Thanks, Michal