未验证 提交 8525dd13 编写于 作者: Z zhangchunle 提交者: GitHub

add npu code not exec linux/windows cases (#35363)

上级 b28cc734
......@@ -328,7 +328,7 @@ class PRChecker(object):
if f_judge.endswith('.md'):
ut_list.append('md_placeholder')
onlyCommentsFilesOrXpu.append(f_judge)
elif 'tests/unittests/xpu' in f_judge or 'tests/unittests/npu' in f_judge:
elif 'tests/unittests/xpu' in f_judge or 'tests/unittests/npu' in f_judge or 'op_npu.cc' in f_judge:
ut_list.append('xpu_npu_placeholder')
onlyCommentsFilesOrXpu.append(f_judge)
elif f_judge.endswith(('.h', '.cu', '.cc', 'py')):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册