]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ktest: Add test type make_min_config
authorSteven Rostedt <srostedt@redhat.com>
Sat, 16 Jul 2011 01:16:17 +0000 (21:16 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 16 Jul 2011 01:19:44 +0000 (21:19 -0400)
commit4c4ab1204fe4e201ece94c3062aa6b5eed670457
tree7317f1cf06600e5cd14a849d4875e764af4b3c3e
parent0df213ca31f43faf0b1d6c7108e190ff198b42d3
ktest: Add test type make_min_config

After doing a make localyesconfig, your kernel configuration may
not be the most useful minimum configuration. Having a true minimum
config that you can use against other configs is very useful if
someone else has a config that breaks on your code. By only forcing
those configurations that are truly required to boot your machine
will give you less of a chance that one of your set configurations
will make the bug go away. This will give you a better chance to
be able to reproduce the reported bug matching the broken config.

Note, this does take some time, and may require you to run the
test over night, or perhaps over the weekend. But it also allows
you to interrupt it, and gives you the current minimum config
that was found till that time.

Note, this test automatically assumes a BUILD_TYPE of oldconfig
and its test type acts like boot.

TODO: add a test version that makes the config do more than just
      boot, like having network access.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl
tools/testing/ktest/sample.conf