Add summary data to unit test output
[ric-plt/lib/rmr.git] / test / mbuf_api_test.c
index fdc221a..ac73976 100644 (file)
@@ -31,6 +31,8 @@
 */
 
 
+#define NO_EMULATION
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <netdb.h>
@@ -48,6 +50,7 @@
 
 #include "mbuf_api.c"
 
+#define MSG_VER 3
 #include "test_support.c"                                              // our private library of test tools
 #include "mbuf_api_static_test.c"                              // test functions
 
@@ -97,9 +100,12 @@ int main( ) {
 
        errors += mbuf_api_test( );
 
+       test_summary( errors, "mbuf API tests" );
        if( errors ) {
                fprintf( stderr, "<FAIL> mbuf_api tests failed\n" );
        } else {
                fprintf( stderr, "<OK>   mbuf_api tests pass\n" );
        }
+
+       return errors;
 }