From: Steven Rostedt <rostedt@goodmis.org>
To: Jon Masters <jcm@redhat.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
corbet <corbet@lwn.net>, Jake Edge <jake@lwn.net>,
Mauro Carvalho Chehab <mchehab@infradead.org>,
lmr@redhat.com, Greg Kroah-Hartman <gregkh@suse.de>,
autotest@test.kernel.org, Vivek Goyal <vgoyal@redhat.com>,
Clark Williams <williams@redhat.com>,
Arnaldo Carvalho de Melo <acme@infradead.org>,
Tim Bird <tim.bird@am.sony.com>
Subject: Re: [ANNOUNCE v2] ktest.pl: Easy and flexible testing script for Linux Kernel Developers (now with config bisect)
Date: Thu, 18 Nov 2010 06:49:40 -0500 [thread overview]
Message-ID: <1290080980.30543.92.camel@gandalf.stny.rr.com> (raw)
In-Reply-To: <1290063785.3916.1124.camel@constitution.bos.jonmasters.org>
On Thu, 2010-11-18 at 02:03 -0500, Jon Masters wrote:
> On Mon, 2010-11-08 at 18:45 -0500, Steven Rostedt wrote:
>
> > It compiles, and performs the type of test specified by the
> > CONFIG_BISECT_TYPE option (build, boot or test). If it passes, then all
> > the configs that were enabled in the .config are removed from the
> > configs to test and added to the good configs to always enable. This
> > allows for configs in the other half to be enabled if they depended on
> > these configs.
>
> Haven't had time to play, but I was thinking about this when bisecting
> an i915 bug last week. In that case none of the kernels failed to boot,
> they just had busted modelines. Do you have support in this tool for
> testing some condition on the system after it boots? I would guess I
> probably would have needed something more heavyweight (that could run a
> script to look for busted modes on the target after booting).
If you set:
BISECT_TYPE = test
TEST = ssh user@host test_script
Where the test_script resides on the test target, and will exit with 0
on success and non-0 otherwise, it should work.
I could also change the code to give you access to the bootlog (actually
you already have it, but it's in the temp directory).
-- Steve
next prev parent reply other threads:[~2010-11-18 11:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-08 23:45 [ANNOUNCE v2] ktest.pl: Easy and flexible testing script for Linux Kernel Developers (now with config bisect) Steven Rostedt
2010-11-18 7:03 ` Jon Masters
2010-11-18 11:49 ` Steven Rostedt [this message]
2010-11-18 14:08 ` Steven Rostedt
2010-11-18 14:26 ` Vivek Goyal
2010-11-18 14:38 ` Steven Rostedt
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=1290080980.30543.92.camel@gandalf.stny.rr.com \
--to=rostedt@goodmis.org \
--cc=acme@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=autotest@test.kernel.org \
--cc=corbet@lwn.net \
--cc=gregkh@suse.de \
--cc=jake@lwn.net \
--cc=jcm@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lmr@redhat.com \
--cc=mathieu.desnoyers@efficios.com \
--cc=mchehab@infradead.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=tim.bird@am.sony.com \
--cc=torvalds@linux-foundation.org \
--cc=vgoyal@redhat.com \
--cc=williams@redhat.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