]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ktest: Set do_not_reboot=y for CONFIG_BISECT_TYPE=build
authorScott Wood <swood@redhat.com>
Mon, 17 Jul 2017 00:16:25 +0000 (19:16 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 21 Mar 2018 16:19:01 +0000 (12:19 -0400)
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>
tools/testing/ktest/ktest.pl

index 80091dfbce4b49a697cefbd18928abab9bc52e25..f597f9b4e8d54f714be3c0287f00ce4696faa36a 100755 (executable)
@@ -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 {