CI: Add silent cmake SonarCloud scan
[ric-plt/lib/rmr.git] / test / rmr_si_rcv_test.c
index fdd1f33..2b95df7 100644 (file)
@@ -57,7 +57,6 @@
                                                                                        // specific test tools in this directory
 #undef NNG_UNDER_TEST 
 #include "test_support.c"                                      // things like fail_if()
-#include "test_ctx_support.c"                          // dummy context support
 #include "test_msg_support.c"
 #include "test_gen_rt.c"
 
@@ -72,6 +71,8 @@
 #include "rmr_si.c"
 #include "mbuf_api.c"
 
+#include "test_ctx_support.c"                          // dummy context support (needs rmr headers)
+
 
 static void gen_rt( uta_ctx_t* ctx );          // defined in sr_si_static_test, but used by a few others (eliminate order requirement below)
 
@@ -91,6 +92,7 @@ int main() {
        errors += rmr_rcv_test();
        fprintf( stderr, "<INFO> error count: %d\n", errors );
 
+       test_summary( errors, "receive tests" );
        if( errors == 0 ) {
                fprintf( stderr, "<PASS> all tests were OK\n\n" );
        } else {