未验证 提交 daf98c15 编写于 作者: R risemeup1 提交者: GitHub

New precise map (#47389)

* precise_test_map_optimization

* modify get_pr_ut.py

* apply new map to coverage,test=coverage

* apply new map to coverage,test=coverage

* apply new map to coverage,test=coverage

* apply new map to coverage,test=coverage

* apply new map to coverage,test=coverage

* apply new map to coverage,test=coverage
上级 8dca9882
......@@ -50,6 +50,8 @@ function gen_full_html_report() {
'/paddle/paddle/fluid/string/*' \
'/paddle/paddle/fluid/eager/*' \
'/paddle/paddle/phi/*' \
'/paddle/paddle/utils/*' \
-o coverage-full.tmp \
--rc lcov_branch_coverage=0
......@@ -63,6 +65,7 @@ function gen_full_html_report() {
'/paddle/paddle/fluid/inference/api/demo_ci/*' \
'/paddle/paddle/fluid/eager/tests/*' \
'/paddle/paddle/phi/tests/*' \
-o coverage-full.tmp \
--rc lcov_branch_coverage=0
......
......@@ -303,7 +303,7 @@ class PRChecker(object):
file_ut_map = None
ret = self.__urlretrieve(
'https://paddle-docker-tar.bj.bcebos.com/pre_test/ut_file_map.json',
'https://paddle-docker-tar.bj.bcebos.com/pre_test_tmp/ut_file_map.json',
'ut_file_map.json',
)
if not ret:
......@@ -326,9 +326,7 @@ class PRChecker(object):
if filename.startswith(PADDLE_ROOT + 'python/'):
file_list.append(filename)
elif filename.startswith(PADDLE_ROOT + 'paddle/'):
if filename.startswith(
(PADDLE_ROOT + 'paddle/infrt', PADDLE_ROOT + 'paddle/utils')
):
if filename.startswith((PADDLE_ROOT + 'paddle/infrt')):
filterFiles.append(filename)
elif filename.startswith(PADDLE_ROOT + 'paddle/scripts'):
if filename.startswith(
......@@ -354,7 +352,7 @@ class PRChecker(object):
if len(file_list) == 0:
ut_list.append('filterfiles_placeholder')
ret = self.__urlretrieve(
'https://paddle-docker-tar.bj.bcebos.com/pre_test/prec_delta',
'https://paddle-docker-tar.bj.bcebos.com/pre_test_tmp/prec_delta',
'prec_delta',
)
if ret:
......@@ -460,7 +458,7 @@ class PRChecker(object):
else:
if ut_list:
ret = self.__urlretrieve(
'https://paddle-docker-tar.bj.bcebos.com/pre_test/prec_delta',
'https://paddle-docker-tar.bj.bcebos.com/pre_test_tmp/prec_delta',
'prec_delta',
)
if ret:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册