Commit 7a849cd9 authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt

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: default avatarTim Bird <tim.bird@am.sony.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 21a9679f
...@@ -378,7 +378,7 @@ sub fail { ...@@ -378,7 +378,7 @@ sub fail {
doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
doprint "**** Failed: ", @_, " ****\n"; doprint "KTEST RESULT: TEST $i Failed: ", @_, "\n";
doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"; doprint "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n";
...@@ -782,7 +782,7 @@ sub success { ...@@ -782,7 +782,7 @@ sub success {
doprint "\n\n*******************************************\n"; doprint "\n\n*******************************************\n";
doprint "*******************************************\n"; doprint "*******************************************\n";
doprint "** TEST $i SUCCESS!!!! **\n"; doprint "KTEST RESULT: TEST $i SUCCESS!!!! **\n";
doprint "*******************************************\n"; doprint "*******************************************\n";
doprint "*******************************************\n"; doprint "*******************************************\n";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment