未验证 提交 49420eb0 编写于 作者: C chalsliu 提交者: GitHub

Refine precision test message

上级 7c8ac064
......@@ -77,12 +77,12 @@ class PRChecker(object):
ut_list.append(ut.rstrip('\r\n'))
if check_added_ut:
cmd = 'bash {}/tools/check_added_ut.sh'.format(PADDLE_ROOT)
cmd = 'bash {}/tools/check_added_ut.sh >/tmp/pre_ut 2>&1'.format(
PADDLE_ROOT)
os.system(cmd)
with open('{}/added_ut'.format(PADDLE_ROOT)) as utfile:
for ut in utfile:
ut_list.append(ut.rstrip('\r\n'))
with open('{}/added_ut'.format(PADDLE_ROOT)) as utfile:
for ut in utfile:
ut_list.append(ut.rstrip('\r\n'))
return ' '.join(ut_list)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册