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:
Steven Rostedt 2010-11-08 16:49:25 -05:00 коммит произвёл Steven Rostedt
Родитель 21a9679fea
Коммит 7a849cd93a
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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";