提交 af9f4c28 编写于 作者: L lelelelelez

added file not exec all tests;notest

上级 4f4662b0
...@@ -335,7 +335,10 @@ class PRChecker(object): ...@@ -335,7 +335,10 @@ class PRChecker(object):
if f_judge.find('test_') != -1 or f_judge.find( if f_judge.find('test_') != -1 or f_judge.find(
'_test') != -1: '_test') != -1:
check_added_ut = True check_added_ut = True
if file_dict[f] not in ['removed']: if file_dict[f] == 'added':
ut_list.append('added_file_placeholder')
filterFiles.append(f_judge)
elif file_dict[f] not in ['removed']:
if self.is_only_comment(f): if self.is_only_comment(f):
ut_list.append('comment_placeholder') ut_list.append('comment_placeholder')
onlyCommentsFilesOrXpu.append(f_judge) onlyCommentsFilesOrXpu.append(f_judge)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册