Browse Source

Fix UT for printf like

tags/v1.2.0
zhangxiaokun 3 years ago
parent
commit
eb79c76938
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      build.sh

+ 1
- 1
build.sh View File

@@ -240,7 +240,7 @@ if [[ "X$ENABLE_GE_UT" = "Xon" || "X$ENABLE_GE_COV" = "Xon" ]]; then
rm -rf ${BASEPATH}/cov rm -rf ${BASEPATH}/cov
mkdir ${BASEPATH}/cov mkdir ${BASEPATH}/cov
lcov -c -d build/tests/ut/ge -d build/tests/ut/common/graph/ -o cov/tmp.info lcov -c -d build/tests/ut/ge -d build/tests/ut/common/graph/ -o cov/tmp.info
lcov -r cov/tmp.info '*/output/*' '*/build/opensrc/*' '*/build/proto/*' '*/third_party/*' '*/tests/*' '*/ge/common/*' '*/ge/executor/*' '*/ge/graph/*' '*/ge/host_kernels/*' '/usr/local/*' -o cov/coverage.info
lcov -r cov/tmp.info '*/output/*' '*/build/opensrc/*' '*/build/proto/*' '*/third_party/*' '*/tests/*' '/usr/local/*' -o cov/coverage.info
cd ${BASEPATH}/cov cd ${BASEPATH}/cov
genhtml coverage.info genhtml coverage.info
fi fi


Loading…
Cancel
Save