Return in mbuf_api_test.c was missing causing occasional
report of failed test when all tests passed.
unit_test.ksh wasn't properly searching for build directory
on systems which support lib64 naming conventions.
Change-Id: Idc208ef796c8dabf70c039e38fafab2a34db4df9
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
} else {
fprintf( stderr, "<OK> mbuf_api tests pass\n" );
}
} else {
fprintf( stderr, "<OK> mbuf_api tests pass\n" );
}
# -----------------------------------------------------------------------------------------------------------------
# we assume that the project has been built in the ../[.]build directory
# -----------------------------------------------------------------------------------------------------------------
# we assume that the project has been built in the ../[.]build directory
-if [[ -d ../build/lib ]]
- export LD_LIBRARY_PATH=../build/lib
+ export LD_LIBRARY_PATH=../build/lib:../build/lib64
- if [[ -d ../.build/lib ]]
- export LD_LIBRARY_PATH=../.build/lib
+ export LD_LIBRARY_PATH=../.build/lib:../.build/lib64
export C_INCLUDE_PATH=../.build/include
else
export C_INCLUDE_PATH=../.build/include
else
- echo "[WARN] cannot find ../[.]build/lib; things might not work"
+ echo "[WARN] cannot find build directory (tried ../build and ../.build); things might not work"