diff --git a/tools/get_pr_ut.py b/tools/get_pr_ut.py index 93337978393498af1cba17d638e6076fa7fa7b84..bd67d68c131118dd0478736d388b4a9bb1298dc4 100644 --- a/tools/get_pr_ut.py +++ b/tools/get_pr_ut.py @@ -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')):