diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-07-19 15:26:00 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-07-19 15:26:00 -0400 |
commit | b0918612545e698e55889c15d25e5118ea09c1fd (patch) | |
tree | c0c169413ea90ecd7e446a4b322eb389af49dda6 /tools/testing/ktest/sample.conf | |
parent | e5c2ec11a07b9e1e7eb714aad13583e2bbae49bd (diff) | |
download | linux-stable-b0918612545e698e55889c15d25e5118ea09c1fd.tar.gz linux-stable-b0918612545e698e55889c15d25e5118ea09c1fd.tar.bz2 linux-stable-b0918612545e698e55889c15d25e5118ea09c1fd.zip |
ktest: Add CONFIG_BISECT_CHECK option
The config-bisect can take a bad config and bisect it down to find out
what config actually breaks the config. But as all tests will apply a
minconfig (defined by a user) to apply before booting, it is possible
that the minconfig could actually make the bad config work (minconfigs
can disable configs). The end result is that the config bisect test will
not find a config that breaks. This can be rather frustrating to the
user.
The CONFIG_BISECT_CHECK option, when set to 1, will make sure that the
bad config (with the minconfig applied) still fails before trying to
bisect.
And yes, I did get burned by this.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r-- | tools/testing/ktest/sample.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index 19754e0c8c64..e4a12da75ba6 100644 --- a/tools/testing/ktest/sample.conf +++ b/tools/testing/ktest/sample.conf @@ -1077,6 +1077,12 @@ # can specify it with CONFIG_BISECT_GOOD. Otherwise # the MIN_CONFIG is the base. # +# CONFIG_BISECT_CHECK (optional) +# Set this to 1 if you want to confirm that the config ktest +# generates (the bad config with the min config) is still bad. +# It may be that the min config fixes what broke the bad config +# and the test will not return a result. +# # Example: # TEST_START # TEST_TYPE = config_bisect |