X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsymtab_static_test.c;h=5bf2985c78642e1dfa3459cd8a7a1c75c1bc425b;hb=refs%2Ftags%2F4.7.4;hp=7d5a39c5a11214bfc6225592246f34e7e84b163c;hpb=412d53dfa2f9b5b56a448797d0dfec3b0f11f666;p=ric-plt%2Flib%2Frmr.git diff --git a/test/symtab_static_test.c b/test/symtab_static_test.c index 7d5a39c..5bf2985 100644 --- a/test/symtab_static_test.c +++ b/test/symtab_static_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. @@ -31,7 +31,6 @@ #include "rmr_symtab.h" // -- parent must include if needed #include "../src/common/src/symtab.c" -#include "test_support.c" #ifndef GOOD #define GOOD 0 @@ -137,6 +136,6 @@ static int symtab_test( ) { rmr_sym_free( NULL ); // ensure it doesn't barf when given a nil pointer rmr_sym_free( st ); - return !!( errors + symtab_state ); + return errors + (!!symtab_state ); }