diff --git a/tools/coverage/paddle_coverage.sh b/tools/coverage/paddle_coverage.sh index 54d08967b7f06fbcc8cbef9baa6797f7d5e7814a..b77f3eb00ff06eedbf6fa14d8dbb1078d2375770 100644 --- a/tools/coverage/paddle_coverage.sh +++ b/tools/coverage/paddle_coverage.sh @@ -145,6 +145,8 @@ coverage combine `$(ls python-coverage.data.*)` || NO_PYTHON_COVERAGE_DATA=1 `$(coverage xml -i -o python-coverage.xml)` || [[ "${NO_PYTHON_COVERAGE_DATA}" == "1" ]] +sed -i 's/mnt\/paddle/paddle/g' python-coverage.xml + `$(python3.7 ${PADDLE_ROOT}/tools/coverage/python_coverage.py > python-coverage.info)` || [[ "${NO_PYTHON_COVERAGE_DATA}" == "1" ]] # python full html report