From cdc5a55ac1c929920fb204e5e57023e5fab0a947 Mon Sep 17 00:00:00 2001 From: YUNSHEN XIE <1084314248@qq.com> Date: Tue, 16 Mar 2021 19:40:46 +0800 Subject: [PATCH] turn off added ut check on windows (#31660) --- tools/get_pr_ut.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/get_pr_ut.py b/tools/get_pr_ut.py index 001f380049f..58d7d2c0d6b 100644 --- a/tools/get_pr_ut.py +++ b/tools/get_pr_ut.py @@ -265,7 +265,8 @@ class PRChecker(object): '.cu'): if f.find('test_') != -1 or f.find('_test') != -1: print('PREC {} need check new ut'.format(f)) - check_added_ut = True + if current_system != "Windows": + check_added_ut = True elif self.is_only_comment(f): ut_list.append('nomap_comment_placeholder') else: -- GitLab