public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Shuah Khan <shuah.kh@samsung.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: mmarek@suse.cz, gregkh@linuxfoundation.org,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	Shuah Khan <shuah.kh@samsung.com>
Subject: Re: [PATCH v2] kbuild: kselftest - new make target to build and run kernel selftests
Date: Thu, 07 Aug 2014 10:13:13 -0600	[thread overview]
Message-ID: <53E3A599.6090008@samsung.com> (raw)
In-Reply-To: <20140807155713.GA1382@ravnborg.org>

On 08/07/2014 09:57 AM, Sam Ravnborg wrote:
> On Thu, Aug 07, 2014 at 08:03:12AM -0600, Shuah Khan wrote:
>> Add a new make target "kselftest" to enable kernel testing. This
>> new target builds and runs kernel selftests. Running as root is
>> recommended for a complete test run as some tests don't run when
>> run by non-root user.
>
> kselftest will run the test - but will not build the kerenl.
> That is does not build the kernel is IMO a good thing -
> as one may re-run the test while doing work on the kernel, and triggering
> a rebuild to re-run the test is not nice.

Good. That is the reason why I made the change to not run make all.
Result of an aha moment when I was working on the v2 :)

>
> The changelog + help text needs to be updated to reflect that the kernel is not
> built when you use "make kselftest".

I will update the changelog and re-send the patch.

>
> On top of this - can you please tell what plans exists to extend this.
> When we discussed "devtest" it was said that it would not be a wrapper
> for selftests run_tests only, but more was planned to be added.
>

I posted agenda item to ksummit-discuss this morning outlining the
progress made in 3.17 and what's planned for 3.18 and beyond. I think
the post is waiting for moderator approval.

-- Shuah

-- 
Shuah Khan
Senior Linux Kernel Developer - Open Source Group
Samsung Research America(Silicon Valley)
shuah.kh@samsung.com | (970) 672-0658

      reply	other threads:[~2014-08-07 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-07 14:03 [PATCH v2] kbuild: kselftest - new make target to build and run kernel selftests Shuah Khan
2014-08-07 15:57 ` Sam Ravnborg
2014-08-07 16:13   ` Shuah Khan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53E3A599.6090008@samsung.com \
    --to=shuah.kh@samsung.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox