From 17c247196c188f79ba160363f312516c2a97e90f Mon Sep 17 00:00:00 2001 From: co63oc Date: Thu, 24 Apr 2025 15:48:11 +0800 Subject: [PATCH] Fix --- tools/check_api_approvals.sh | 2 +- tools/get_single_test_cov.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/check_api_approvals.sh b/tools/check_api_approvals.sh index d3dc548b8e2970..97347f571ed8e2 100644 --- a/tools/check_api_approvals.sh +++ b/tools/check_api_approvals.sh @@ -130,7 +130,7 @@ if [ -n "${echo_list}" ];then echo "There are ${failed_num} approved errors." echo "**************************************************************" - # L40 L48 L62 has fetch the result out, but there are splitted. + # L40 L48 L62 has fetch the result out, but there are split. if [ "${api_spec_diff}" != "" -o "${api_annotation_diff}" != "" ] ; then python ${PADDLE_ROOT}/tools/diff_api.py ${PADDLE_ROOT}/paddle/fluid/API_DEV.spec ${PADDLE_ROOT}/paddle/fluid/API_PR.spec fi diff --git a/tools/get_single_test_cov.py b/tools/get_single_test_cov.py index c8909fcec5d914..672b4a2f20d544 100644 --- a/tools/get_single_test_cov.py +++ b/tools/get_single_test_cov.py @@ -86,7 +86,7 @@ def analysisFNDAFile(rootPath, test): fn_filename = f'{rootPath}/build/ut_map/{test}/fnda.tmp' try: f = open(fn_filename) - print(f"oepn {fn_filename} successfully") + print(f"open {fn_filename} successfully") except FileNotFoundError: print(f"{fn_filename} is not found.") return @@ -133,7 +133,7 @@ def getBaseFnda(rootPath, test): filename = f'{rootPath}/build/ut_map/{test}/coverage.info.tmp' try: f = open(filename) - print(f"oepn {filename} successfully") + print(f"open {filename} successfully") except FileNotFoundError: print(f"{filename} is not found.") symbol_fnda = {}