ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
To: shuah.kh@samsung.com
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	ksummit-discuss@lists.linuxfoundation.org
Subject: Re: [Ksummit-discuss] kselftest - What's in 3.17 and plans for 3.18 and beyond
Date: Tue, 12 Aug 2014 01:13:07 +0900	[thread overview]
Message-ID: <53E8EB93.8030301@hitachi.com> (raw)
In-Reply-To: <53E8CF03.6020308@samsung.com>

(2014/08/11 23:11), Shuah Khan wrote:
>> (2014/08/07 23:36), Shuah Khan wrote:> As a first step towards a larger goal to enable developer
>>> friendly kernel testing framework, a new make target is
>>> planned for 3.17. In addition, 3.17 includes work done to
>>> fix tools/testing/sefltests to run without failures.
>>>
>>> Short summary of work done so far for 3.17:
>>>
>>> - fix compile errors and warnings in various tests
>>> - fix run-time errors when tests aren't run as root
>>> - enhance and improve cpu and memory hot-plug tests
>>>     to run in limited scope mode by default. A new make
>>>     target to select full-scope testing. Prior to this
>>>     change, cpu and memory hot-plug tests hung trying to
>>>     hot-plug all but cpu0 and a large portion of the memory.
>>> - add a new kselftest target to run existing selftests
>>>     to start with.
>>
>> Instead of running the selftests, can we build the testcases and
>> install it as a tool? I think running tests on the tree is not a
>> good idea...
> 
> One of the goals is to leverage developer tests that we already have.
> When a developer makes a kernel change and wants to see if that change
> lead to any regression, having the ability to buidl and run selftests on 
> the newly installed kernel withe the same source tree is very useful.
> That is the reason behind adding this new target.

I see, for that purpose, installing testcase may not fit.
BTW, how would it cover cross-build?

> Existing selfests are a collection of tools that exercise several
> testcases that are specific each area they target. This is a good
> start and we can definitely start enhancing the tools and build
> testcases.

Agreed.

> 
>> Also, as I said in above mail, I'd like to suggest to add at least
>> log management and statistics to the test. Those are good to automate
>> regression tests. :)
>>
> 
> Right. Some existing selftests do that, but not all. It would be
> helpful to add that to all.

Yeah, and I hope the selftest top-level script to provide such
functions to each test, because those should be common, and easy
to manage.

Thank you,

-- 
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Research Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com

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

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-07 14:36 Shuah Khan
2014-08-07 18:24 ` Bird, Tim
2014-08-07 19:59   ` Shuah Khan
2014-08-08  2:18 ` Masami Hiramatsu
2014-08-11 14:11   ` Shuah Khan
2014-08-11 16:13     ` Masami Hiramatsu [this message]
2014-08-12 13:00       ` Grant Likely
2014-08-12 16:15         ` Guenter Roeck
2014-08-12 16:21           ` Masami Hiramatsu
2014-08-12 16:51             ` Geert Uytterhoeven
2014-08-12 17:15             ` Theodore Ts'o
2014-08-12 16:23           ` Grant Likely
2014-08-12 16:49             ` Mark Brown
2014-08-13  6:26               ` Grant Likely
2014-08-13 10:40                 ` Mark Brown
2014-08-13 11:12                   ` Geert Uytterhoeven
2014-08-13 12:42                     ` Mark Brown
2014-08-13 13:08                       ` Geert Uytterhoeven
2014-08-13 15:00                   ` Kevin Hilman
2014-08-13 16:40                     ` Olof Johansson
2014-08-13 17:11                       ` Mark Brown
2014-08-12 17:46             ` Tim Bird
2014-08-12 18:06               ` Steven Rostedt
2014-08-12 20:52                 ` Tim Bird
2014-08-14 16:35                 ` Grant Likely
2014-08-12 17:30           ` Andy Lutomirski
2014-08-12 16:34         ` Shuah Khan
2014-08-13  8:35         ` Linus Walleij
2014-08-13 16:11           ` Guenter Roeck
2014-08-13 16:16             ` Andy Lutomirski
2014-08-13 16:44               ` Bird, Tim
2014-08-13 17:07                 ` Grant Likely
2014-08-13 17:10                   ` Andy Lutomirski
2014-08-13 17:10                 ` Guenter Roeck
2014-08-18  3:10               ` Rob Landley
2014-08-18  3:08             ` Rob Landley
2014-08-18  7:16               ` Geert Uytterhoeven
2014-08-13 16:45           ` Masami Hiramatsu
2014-08-18  3:18             ` Rob Landley
2014-08-13 15:06         ` Aneesh Kumar K.V

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=53E8EB93.8030301@hitachi.com \
    --to=masami.hiramatsu.pt@hitachi.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=shuah.kh@samsung.com \
    /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