ktest: Sort make_min_config configs by dependecies
authorSteven Rostedt <srostedt@redhat.com>
Tue, 4 Oct 2011 13:40:17 +0000 (09:40 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 17 Oct 2011 15:54:12 +0000 (11:54 -0400)
commitac6974c76e66c2f9b8b8a23b974c5f3d94302e81
tree24307cfee6c449f171a4356ec328be838227f88e
parent9900b5dc067551fcdcaec63d013b1d95b36835ae
ktest: Sort make_min_config configs by dependecies

The make_min_config test will turn off one config at a time and check
if the config boots or not, and if it does, it will remove that config
plus any config that depended on that config.

ktest already looks if a config has a dependency and will try the
dependency config first. But by sorting the configs and trying the
config with the most configs dependent on it, we can shrink the
minconfig faster.

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