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:
Родитель
21a9679fea
Коммит
7a849cd93a
|
@ -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";
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче