3 export LD_LIBRARY_PATH=..:.:../ag-agent:../hf-agent:../hid-agent:../include:../ipsp-agent:../map-agent:../pb-agent:$LD_LIBRARY_PATH
8 unitTestFile=gtest-bluetooth-agent
9 if [ ! -x "./$unitTestFile" ]
11 echo "$unitTestFile file does not exist!"
16 LD_PRELOAD=./libbluetooth-agent-mock.so ./$unitTestFile
19 CoverageDir=${RootDir}/coverage
28 if [ -f /usr/bin/lcov ]
30 lcov -c --ignore-errors graph --no-external -b . -d . -o cov.info
31 genhtml cov.info -o ${CoverageDir}
32 echo "Coverage test result created! [${CoverageDir}]"
34 echo "lcov does not exist!"