summaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest
diff options
context:
space:
mode:
authorScott Wood <swood@redhat.com>2017-07-16 19:16:25 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-03-21 12:19:01 -0400
commit649c0f12defbefc303d0cb7157b090c9cfd92944 (patch)
treecd39d90a0d076b4f1adffcb5ee323c57669d0df0 /tools/testing/ktest
parent25bc70fa0968dacb40eec37d4340163df48b06cf (diff)
downloadlinux-stable-649c0f12defbefc303d0cb7157b090c9cfd92944.tar.gz
linux-stable-649c0f12defbefc303d0cb7157b090c9cfd92944.tar.bz2
linux-stable-649c0f12defbefc303d0cb7157b090c9cfd92944.zip
ktest: Set do_not_reboot=y for CONFIG_BISECT_TYPE=build
Currently setting do_not_reboot is triggered by simple builds and bisect builds, but not config bisect builds. Link: http://lkml.kernel.org/r/20170717001630.10518-3-swood@redhat.com Signed-off-by: Scott Wood <swood@redhat.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest')
-rwxr-xr-xtools/testing/ktest/ktest.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 80091dfbce4b..f597f9b4e8d5 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -1400,7 +1400,8 @@ sub do_not_reboot {
return $test_type eq "build" || $no_reboot ||
($test_type eq "patchcheck" && $opt{"PATCHCHECK_TYPE[$i]"} eq "build") ||
- ($test_type eq "bisect" && $opt{"BISECT_TYPE[$i]"} eq "build");
+ ($test_type eq "bisect" && $opt{"BISECT_TYPE[$i]"} eq "build") ||
+ ($test_type eq "config_bisect" && $opt{"CONFIG_BISECT_TYPE[$i]"} eq "build");
}
sub dodie {