Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1688574

[PATCH 3/8] ktest: Set do_not_reboot=y for CONFIG_BISECT_TYPE=build

From Scott Wood <swood@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 3/8] ktest: Set do_not_reboot=y for CONFIG_BISECT_TYPE=build
Date 2017-07-17 02:20 +0200
Message-ID <u41Vw-67m-23@gated-at.bofh.it> (permalink)
References <u41Vv-67m-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Currently setting do_not_reboot is triggered by simple builds and bisect
builds, but not config bisect builds.

Signed-off-by: Scott Wood <swood@redhat.com>
---
 tools/testing/ktest/ktest.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 36e1b91259cd..7d537bdf462b 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -1397,7 +1397,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 {
-- 
2.9.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/8] ktest: Clarify config file usage Scott Wood <swood@redhat.com> - 2017-07-17 02:20 +0200
  [PATCH 2/8] ktest: Set buildonly=1 for CONFIG_BISECT_TYPE=build Scott Wood <swood@redhat.com> - 2017-07-17 02:20 +0200
  [PATCH 7/8] ktest: Add simple config-bisect frontend Scott Wood <swood@redhat.com> - 2017-07-17 02:20 +0200
  [PATCH 4/8] ktest: Separate out config bisect logic Scott Wood <swood@redhat.com> - 2017-07-17 02:20 +0200
  [PATCH 3/8] ktest: Set do_not_reboot=y for CONFIG_BISECT_TYPE=build Scott Wood <swood@redhat.com> - 2017-07-17 02:20 +0200
  [PATCH 8/8] ktest: Use config-bisect.pl in ktest.pl Scott Wood <swood@redhat.com> - 2017-07-17 02:20 +0200
  [PATCH 6/8] ktest/config-bisect: Try harder to find a new config Scott Wood <swood@redhat.com> - 2017-07-17 02:20 +0200

csiph-web