X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Ftools_test.c;h=70cce441befc02902d30bf8b229566cab75e3280;hb=9d06960949d8e58776de60f245c35184f1ed7441;hp=fb6aafafacad4db4f00a0e0112d8d525340ee742;hpb=316614a9808fcd107daa1b5ec190f6b2a9d804c3;p=ric-plt%2Flib%2Frmr.git diff --git a/test/tools_test.c b/test/tools_test.c index fb6aafa..70cce44 100644 --- a/test/tools_test.c +++ b/test/tools_test.c @@ -51,7 +51,18 @@ #include "tools_static_test.c" int main( ) { + int errors = 0; + fprintf( stderr, ">>>> starting tools_test\n" ); - return tools_test() > 0; + errors += tools_test() > 0; + + test_summary( errors, "tool tests" ); + if( errors == 0 ) { + fprintf( stderr, " all tool tests were OK\n\n" ); + } else { + fprintf( stderr, " %d errors in tool code\n\n", errors ); + } + + return !!errors; }