projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a0e16
)
ktest: add ability to skip during BISECT_MANUAL
author
Chris J Arges
<chris.j.arges@canonical.com>
Wed, 27 Aug 2014 18:26:53 +0000
(13:26 -0500)
committer
Steven Rostedt
<rostedt@goodmis.org>
Sat, 20 Sep 2014 00:12:52 +0000
(20:12 -0400)
When doing a manual bisect, a build can fail or a test can be inconclusive.
In these cases it would be helpful to be able to skip the test entirely.
Link:
http://lkml.kernel.org/r/1409164021-2136-1-git-send-email-chris.j.arges@canonical.com
Reviewed-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl
patch
|
blob
|
history
diff --git
a/tools/testing/ktest/ktest.pl
b/tools/testing/ktest/ktest.pl
index 3b7a180d9c0de3b6e327a6c3bbcf2596293014c3..085452fa045be66c6233d54d4183e0b767120c9d 100755
(executable)
--- a/
tools/testing/ktest/ktest.pl
+++ b/
tools/testing/ktest/ktest.pl
@@
-2338,15
+2338,17
@@
sub success {
sub answer_bisect {
for (;;) {
- doprint "Pass
or fail? [p/f
]";
+ doprint "Pass
, fail, or skip? [p/f/s
]";
my $ans = <STDIN>;
chomp $ans;
if ($ans eq "p" || $ans eq "P") {
return 1;
} elsif ($ans eq "f" || $ans eq "F") {
return 0;
+ } elsif ($ans eq "s" || $ans eq "S") {
+ return -1;
} else {
- print "Please answer '
P' or 'F
'\n";
+ print "Please answer '
p', 'f', or 's
'\n";
}
}
}