X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsymtab_test.c;h=9beae8d58e320ebf3d2303786a66cc8e41563a3b;hb=HEAD;hp=8cb8b15124cd3571cd3edd7e026018eb4689eb6f;hpb=5ec64c5253b3b7611ec69cc1487989fae45eca26;p=ric-plt%2Flib%2Frmr.git diff --git a/test/symtab_test.c b/test/symtab_test.c index 8cb8b15..9beae8d 100644 --- a/test/symtab_test.c +++ b/test/symtab_test.c @@ -1,7 +1,7 @@ /* ================================================================================== - Copyright (c) 2019 Nokia - Copyright (c) 2018-2019 AT&T Intellectual Property. + Copyright (c) 2019-2021 Nokia + Copyright (c) 2018-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. @@ -247,6 +247,8 @@ int main( ) { rmr_sym_free( NULL ); // ensure it doesn't barf when given a nil pointer rmr_sym_free( st ); + errors += thread_test(); // test as best we can for race issues + test_summary( errors, "symtab tests" ); if( state + errors == 0 ) { fprintf( stderr, " all symtab tests were OK\n\n" ); @@ -254,7 +256,6 @@ int main( ) { fprintf( stderr, " %d errors in symtab code\n\n", errors ); } - errors += thread_test(); return !!(state + errors); }