diff --git a/run_ut.sh b/run_ut.sh index 7e0b7938..def8ced7 100644 --- a/run_ut.sh +++ b/run_ut.sh @@ -181,8 +181,13 @@ make || { echo "ERROR: STBService Thunder gtest build failed"; exit 1; } ./stbservice_thunder_gtest || { echo "ERROR: STBService Thunder gtest execution failed"; exit 1; } echo "********************" +cd $TOP_DIR/src/hostif/profiles/DeviceInfo/ +gcov -b -c devieInfo_gtest-Device_DeviceInfo.gcno +cat Device_DeviceInfo.cpp.gcov + cd $TOP_DIR + if [ "$ENABLE_COV" = true ]; then lcov --capture --directory . --output-file coverage.info lcov --remove coverage.info '/usr/*' '*/gtest/*' '*/mocks/*' --output-file filtered.info