aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest/sample.conf
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-03-08 09:22:39 -0500
committerSteven Rostedt <rostedt@goodmis.org>2011-03-08 09:52:58 -0500
commitc960bb9f59c0ed2aded535222cfe461ec6c22c95 (patch)
tree9fc6dac228cd7e50aff317665599e8e64f1bee6b /tools/testing/ktest/sample.conf
parent612b9e9bd33af80f525a38c05a1663f7126b3d3c (diff)
ktest: Add manual bisect
For both git bisect and config bisect, if BISECT_MANUAL is set to 1, then bisect will stop between iterations and ask the user for the result. The actual result is ignored. This makes it possible to use ktest.pl for bisecting configs and git and let the user examine the results themselves and enter their own results. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r--tools/testing/ktest/sample.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf
index 3408c594b2de..af82ac289779 100644
--- a/tools/testing/ktest/sample.conf
+++ b/tools/testing/ktest/sample.conf
@@ -528,6 +528,15 @@
528# With BISECT_REVERSE = 1, The test will consider failures as 528# With BISECT_REVERSE = 1, The test will consider failures as
529# good, and success as bad. 529# good, and success as bad.
530# 530#
531# BISECT_MANUAL = 1 (optional, default 0)
532#
533# In case there's a problem with automating the bisect for
534# whatever reason. (Can't reboot, want to inspect each iteration)
535# Doing a BISECT_MANUAL will have the test wait for you to
536# tell it if the test passed or failed after each iteration.
537# This is basicall the same as running git bisect yourself
538# but ktest will rebuild and install the kernel for you.
539#
531# BISECT_CHECK = 1 (optional, default 0) 540# BISECT_CHECK = 1 (optional, default 0)
532# 541#
533# Just to be sure the good is good and bad is bad, setting 542# Just to be sure the good is good and bad is bad, setting
@@ -613,10 +622,17 @@
613# 622#
614# CONFIG_BISECT is the config that failed to boot 623# CONFIG_BISECT is the config that failed to boot
615# 624#
625# If BISECT_MANUAL is set, it will pause between iterations.
626# This is useful to use just ktest.pl just for the config bisect.
627# If you set it to build, it will run the bisect and you can
628# control what happens in between iterations. It will ask you if
629# the test succeeded or not and continue the config bisect.
630#
616# Example: 631# Example:
617# TEST_START 632# TEST_START
618# TEST_TYPE = config_bisect 633# TEST_TYPE = config_bisect
619# CONFIG_BISECT_TYPE = build 634# CONFIG_BISECT_TYPE = build
620# CONFIG_BISECT = /home/test/˘onfig-bad 635# CONFIG_BISECT = /home/test/˘onfig-bad
621# MIN_CONFIG = /home/test/config-min 636# MIN_CONFIG = /home/test/config-min
637# BISECT_MANUAL = 1
622# 638#