Newer
Older
snipet / libscpp / trunk / unittest / lib / print_gcov_result.sh
Nomura Kei on 26 Aug 2022 344 bytes old svn data to git
#!/bin/sh

REPORT_DIR=$1
if [ "${REPORT_DIR}" = "" ]; then
	REPORTDIR=report
fi

TARGET_FILES=`ls ${REPORT_DIR}/*.cpp.gcov | grep -v ${REPORT_DIR}/ut_ | grep -v ${REPORT_DIR}/scpp_unittest.cpp.gcov | grep -v ${REPORT_DIR}/scpp_memory.cpp.gcov`

for f in ${TARGET_FILES}; do
	echo "checking ..... ${f}"
	cat "${f}" | grep "#####"
done

exit 0;