|
|
|
@@ -228,8 +228,10 @@ if [[ "X$ENABLE_GE_UT" = "Xon" || "X$ENABLE_GE_COV" = "Xon" ]]; then |
|
|
|
cd ${BASEPATH} |
|
|
|
rm -rf ${BASEPATH}/cov |
|
|
|
mkdir ${BASEPATH}/cov |
|
|
|
gcovr -r ./ --exclude 'third_party' --exclude 'build' --exclude 'output' --exclude 'tests' --exclude 'inc' --print-summary --html --html-details -d -o cov/index.html |
|
|
|
# fi |
|
|
|
lcov -c -d build/tests/ut/ge -d build/tests/ut/common/graph/ -o cov/tmp.info |
|
|
|
lcov --remove cov/tmp.info '*/output/*' '*/build/opensrc/*' '*/build/proto/*' '*/third_party/*' '*/tests/*' '/usr/local/*' -o cov/coverage.info |
|
|
|
cd ${BASEPATH}/cov |
|
|
|
genhtml coverage.info |
|
|
|
fi |
|
|
|
|
|
|
|
# generate output package in tar form, including ut/st libraries/executables |
|
|
|
|