diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-03-08 09:47:54 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-03-08 09:52:59 -0500 |
commit | 2d01b26a1b14ab248f850d858f2ff3de3ead6d33 (patch) | |
tree | a0bb3d595a9bd6f18db05068c048cd54202fa209 /tools/testing/ktest/sample.conf | |
parent | 8ea0e063a78df91b1ca4d23ea8d4e2e3047f6950 (diff) |
ktest: Add STOP_TEST_AFTER to stop the test after a period of time
Currently, if a test causes constant output but never reaches a
boot prompt, or crashes, the test will never stop. Add STOP_TEST_AFTER
to create a variable that will stop (and fail) the test after it has run
for this amount of time. The default is 10 minutes. Setting this
variable to -1 will disable it.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r-- | tools/testing/ktest/sample.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index 4c83ae77926c..4c5d6bd74a02 100644 --- a/tools/testing/ktest/sample.conf +++ b/tools/testing/ktest/sample.conf | |||
@@ -306,6 +306,14 @@ | |||
306 | # (default 60) | 306 | # (default 60) |
307 | #STOP_AFTER_FAILURE = 60 | 307 | #STOP_AFTER_FAILURE = 60 |
308 | 308 | ||
309 | # In case the console constantly fills the screen, having | ||
310 | # a specified time to stop the test if it never succeeds nor fails | ||
311 | # is recommended. | ||
312 | # Note: this is ignored if a success or failure is detected. | ||
313 | # (in seconds) | ||
314 | # (default 600, -1 is to never stop) | ||
315 | #STOP_TEST_AFTER = 600 | ||
316 | |||
309 | # Stop testing if a build fails. If set, the script will end if | 317 | # Stop testing if a build fails. If set, the script will end if |
310 | # a failure is detected, otherwise it will save off the .config, | 318 | # a failure is detected, otherwise it will save off the .config, |
311 | # dmesg and bootlog in a directory called | 319 | # dmesg and bootlog in a directory called |