X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Frmr_si_test.c;h=256e2bd0fdce71ac4f11420ef71053936cb96f8f;hb=HEAD;hp=3ae8d9daaf784c969ceaabfa0ea48c36553b7d1b;hpb=5ec64c5253b3b7611ec69cc1487989fae45eca26;p=ric-plt%2Flib%2Frmr.git diff --git a/test/rmr_si_test.c b/test/rmr_si_test.c index 3ae8d9d..256e2bd 100644 --- a/test/rmr_si_test.c +++ b/test/rmr_si_test.c @@ -1,8 +1,8 @@ // :vi sw=4 ts=4 noet: /* ================================================================================== - Copyright (c) 2020 Nokia - Copyright (c) 2020 AT&T Intellectual Property. + Copyright (c) 2020-2021 Nokia + Copyright (c) 2020-2021 AT&T Intellectual Property. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -88,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" +#include "alarm_static_test.c" // do NOT include the receive test static must be stand alone #include "rmr_si_api_static_test.c" @@ -101,6 +102,10 @@ int main() { rmr_set_vlevel( 5 ); // enable all debugging + fprintf( stderr, "\n starting alarm tests (%d)\n", errors ); + errors += alarm_test(); + fprintf( stderr, " error count: %d\n", errors ); + fprintf( stderr, "\n starting lg buffer tests (%d)\n", errors ); errors += rmr_lgbuf_test(); fprintf( stderr, " error count: %d\n", errors ); @@ -137,13 +142,10 @@ int main() { fprintf( stderr, "\n starting RMr API tests\n" ); errors += rmr_api_test(); -/// ---- all ok above here -/* fprintf( stderr, "\n run RMr API tests with src name only env var set\n" ); setenv( "RMR_SRC_NAMEONLY", "1", 1 ); errors += rmr_api_test(); fprintf( stderr, " error count: %d\n", errors ); -*/ test_summary( errors, "rmr_si tests" ); if( errors == 0 ) {