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>
This commit is contained in:
parent
21a9679fea
commit
7a849cd93a
1 changed files with 2 additions and 2 deletions
|
@ -378,7 +378,7 @@ sub fail {
|
|||
|
||||
doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
|
||||
doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
|
||||
doprint "**** Failed: ", @_, " ****\n";
|
||||
doprint "KTEST RESULT: TEST $i Failed: ", @_, "\n";
|
||||
doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
|
||||
doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
|
||||
|
||||
|
@ -782,7 +782,7 @@ sub success {
|
|||
|
||||
doprint "\n\n*******************************************\n";
|
||||
doprint "*******************************************\n";
|
||||
doprint "** TEST $i SUCCESS!!!! **\n";
|
||||
doprint "KTEST RESULT: TEST $i SUCCESS!!!! **\n";
|
||||
doprint "*******************************************\n";
|
||||
doprint "*******************************************\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue