https://github.com/torvalds/linux
Revision 961d9caceea2d5350a15c17b7d3ffc24c08c9b09 authored by Steven Rostedt (Red Hat) on 19 January 2014, 00:52:13 UTC, committed by Steven Rostedt on 19 January 2014, 00:52:13 UTC
For those cases that it takes several tries to hit a bug, it would be
useful for ktest.pl to try a test multiple times before it considers
the test as a pass. To accomplish this, BISECT_TRIES ktest config
option has been added. It is default to one, as most of the time a
bisect only needs to try a test once. But the user can now up this
to make ktest run a given test multiple times. The first failure
that is detected will set a bisect bad. It only repeats on success.

Note, as with all race bugs, there's no guarantee that if it succeeds,
it is really a good bisect. But it helps in case the bug is somewhat
reliable.

You can set BISECT_TRIES to zero, and all tests will be considered
good, unless you also set BISECT_MANUAL.

Suggested-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 parent c75d22d
History
Tip revision: 961d9caceea2d5350a15c17b7d3ffc24c08c9b09 authored by Steven Rostedt (Red Hat) on 19 January 2014, 00:52:13 UTC
ktest: Add BISECT_TRIES to bisect test
Tip revision: 961d9ca
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.1 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 244.4 KB
Makefile -rw-r--r-- 47.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top