X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Frmr_si_test.c;h=3ae8d9daaf784c969ceaabfa0ea48c36553b7d1b;hb=fd4477a9698a46ce5755d614b663c18ceadf43c4;hp=aa1b6ab754f496316d6d208497feedab9297fda3;hpb=c113b0836f3ebd58911c30de1636a707174efe55;p=ric-plt%2Flib%2Frmr.git diff --git a/test/rmr_si_test.c b/test/rmr_si_test.c index aa1b6ab..3ae8d9d 100644 --- a/test/rmr_si_test.c +++ b/test/rmr_si_test.c @@ -60,7 +60,7 @@ // 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" @@ -74,6 +74,8 @@ #include "rmr_si.c" #include "mbuf_api.c" +#include "test_ctx_support.c" // dummy context support + static void gen_rt( uta_ctx_t* ctx ); // defined in sr_si_static_test, but used by a few others (eliminate order requirement below) @@ -86,6 +88,7 @@ static void gen_rt( uta_ctx_t* ctx ); // defined in sr_si_static_test, but used #include "mbuf_api_static_test.c" #include "sr_si_static_test.c" #include "lg_buf_static_test.c" +// do NOT include the receive test static must be stand alone #include "rmr_si_api_static_test.c" @@ -142,10 +145,11 @@ int main() { fprintf( stderr, " error count: %d\n", errors ); */ + test_summary( errors, "rmr_si tests" ); if( errors == 0 ) { - fprintf( stderr, " all tests were OK\n\n" ); + fprintf( stderr, " all rmr si tests were OK\n\n" ); } else { - fprintf( stderr, " %d modules reported errors\n\n", errors ); + fprintf( stderr, " %d rmr si test modules reported errors\n\n", errors ); } return !!errors;