From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754795AbaHFOEW (ORCPT ); Wed, 6 Aug 2014 10:04:22 -0400 Received: from mailout2.w2.samsung.com ([211.189.100.12]:56267 "EHLO usmailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752854AbaHFOES (ORCPT ); Wed, 6 Aug 2014 10:04:18 -0400 X-AuditID: cbfec37a-b7f216d000000635-2b-53e235e0c52b Message-id: <53E235DE.70604@samsung.com> Date: Wed, 06 Aug 2014 08:04:14 -0600 From: Shuah Khan Reply-to: shuah.kh@samsung.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-version: 1.0 To: Michal Marek , gregkh@linuxfoundation.org Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan 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> <53E232E6.8060506@suse.cz> In-reply-to: <53E232E6.8060506@suse.cz> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Originating-IP: [105.144.134.254] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKLMWRmVeSWpSXmKPExsVy+t9hP92Hpo+CDS6fZbJoXryezeLPrh1M Fpd3zWGzaNl3gcmBxWP/3DXsHmcWHGH3+LxJLoA5issmJTUnsyy1SN8ugStj1/WvbAWfuCrW PfvJ1MD4iKOLkZNDQsBE4v6BcywQtpjEhXvr2boYuTiEBJYxSqx+94Adwullkvh+chsrhLON UWLV9NnMIC28AhoSc6ceB2rh4GARUJVY8I4fJMwmoC7x+fUOdhBbSEBOomnJarByUYEIiQN9 z1ghWgUlfky+B7ZZRMBWYs3ey6wgY5gFkiU2PIgHCQsLhEic+nYSakyixJeFFxhBbE6g8VP/ rmYCsZkFrCVWTtrGCGHLS2xe85YZol5Z4s/lU0wQjylLLJi8jGkCo8gsJJtnIWmfhaR9ASPz Kkax0uLkguKk9NQKQ73ixNzi0rx0veT83E2MkKio2sF456vNIUYBDkYlHt4M04fBQqyJZcWV uYcYJTiYlUR47YUfBQvxpiRWVqUW5ccXleakFh9iZOLglGpgzH42g3FL1AKf8MCHldf1V03f MlG/PD8vd+9J9mj2C69ZFm3gELdqZRerTJ7hIMeyu/mwyvsK0/Xmnu2Tf73NDOB4wsJv6hgt Xyiq/WdXu0iHTJ7SRasE9rm867a/rUjMUNoZ39X/QN7r+Z6loR/mVpjM3PzDrovtXyivIPfn lpzZzkf+7P+jxFKckWioxVxUnAgAGO/oaGgCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> --- >> 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@samsung.com | (970) 672-0658