projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6a21f
)
ktest: If test failed due to timeout, print that
author
Steven Rostedt
<srostedt@redhat.com>
Fri, 20 May 2011 13:14:35 +0000
(09:14 -0400)
committer
Steven Rostedt
<rostedt@goodmis.org>
Fri, 20 May 2011 13:14:35 +0000
(09:14 -0400)
If the test failed due to timeout for boot, print a message saying
so. Otherwise the user will be confused to why their test just failed.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl
patch
|
blob
|
blame
|
history
diff --git
a/tools/testing/ktest/ktest.pl
b/tools/testing/ktest/ktest.pl
index 7301d0328858735cad6dd8db81c63c920589098e..0603e64fea302016b847e225021868ccb2c5e6a7 100755
(executable)
--- a/
tools/testing/ktest/ktest.pl
+++ b/
tools/testing/ktest/ktest.pl
@@
-838,6
+838,7
@@
sub monitor {
if ($stop_test_after > 0 && !$booted && !$bug) {
if (time - $monitor_start > $stop_test_after) {
+ doprint "STOP_TEST_AFTER ($stop_test_after seconds) timed out\n";
$done = 1;
}
}