Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add manual page for set low latency funciton
[ric-plt/lib/rmr.git]
/
test
/
rmr_si_test.c
diff --git
a/test/rmr_si_test.c
b/test/rmr_si_test.c
index
aa1b6ab
..
16d570f
100644
(file)
--- a/
test/rmr_si_test.c
+++ b/
test/rmr_si_test.c
@@
-61,6
+61,7
@@
#undef NNG_UNDER_TEST
#include "test_support.c" // things like fail_if()
#include "test_ctx_support.c" // dummy context support
#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"
#include "test_gen_rt.c"
@@
-86,6
+87,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 "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"
#include "rmr_si_api_static_test.c"
@@
-142,10
+144,11
@@
int main() {
fprintf( stderr, "<INFO> error count: %d\n", errors );
*/
fprintf( stderr, "<INFO> error count: %d\n", errors );
*/
+ test_summary( errors, "rmr_si tests" );
if( errors == 0 ) {
if( errors == 0 ) {
- fprintf( stderr, "<PASS> all tests were OK\n\n" );
+ fprintf( stderr, "<PASS> all
rmr si
tests were OK\n\n" );
} else {
} else {
- fprintf( stderr, "<FAIL> %d modules reported errors\n\n", errors );
+ fprintf( stderr, "<FAIL> %d
rmr si test
modules reported errors\n\n", errors );
}
return !!errors;
}
return !!errors;