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=f0649c1644b633bcbe3adb535c0d14b6a468fddf;hpb=8790bf0c4f4f08fd05853afa67e211112b344a42;p=ric-plt%2Flib%2Frmr.git diff --git a/test/symtab_static_test.c b/test/symtab_static_test.c index f0649c1..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. @@ -28,10 +28,9 @@ Author: E. Scott Daniels */ -#include "../src/common/include/rmr_symtab.h" +#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 ); }