diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-11-08 16:49:25 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-11-18 11:23:11 -0500 |
commit | 7a849cd93ad2cf7d32427f3dbf5f524d5f588d20 (patch) | |
tree | eb15ea56d4e26a21e01764c013df12a610ecab59 /tools/testing | |
parent | 21a9679feadf6b215c4f932b0df5d252b4822c45 (diff) |
ktest: Output something easy to parse for failure or success
Have a easy way to parse the log file for success or failure.
KTEST RESULT: ...
Suggested-by: Tim Bird <tim.bird@am.sony.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing')
-rwxr-xr-x | tools/testing/ktest/ktest.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 962c0f773e20..e0e5935e94c8 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl | |||
@@ -378,7 +378,7 @@ sub fail { | |||
378 | 378 | ||
379 | doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; | 379 | doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; |
380 | doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; | 380 | doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; |
381 | doprint "**** Failed: ", @_, " ****\n"; | 381 | doprint "KTEST RESULT: TEST $i Failed: ", @_, "\n"; |
382 | doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; | 382 | doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; |
383 | doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; | 383 | doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; |
384 | 384 | ||
@@ -782,7 +782,7 @@ sub success { | |||
782 | 782 | ||
783 | doprint "\n\n*******************************************\n"; | 783 | doprint "\n\n*******************************************\n"; |
784 | doprint "*******************************************\n"; | 784 | doprint "*******************************************\n"; |
785 | doprint "** TEST $i SUCCESS!!!! **\n"; | 785 | doprint "KTEST RESULT: TEST $i SUCCESS!!!! **\n"; |
786 | doprint "*******************************************\n"; | 786 | doprint "*******************************************\n"; |
787 | doprint "*******************************************\n"; | 787 | doprint "*******************************************\n"; |
788 | 788 | ||