未验证 提交 9f6e5fdb 编写于 作者: Y YUNSHEN XIE 提交者: GitHub

fix path error on windows when precision switch is turn on (#33025)

上级 5fa44c34
......@@ -233,9 +233,9 @@ class PRChecker(object):
def get_all_count(self):
os.system(
"cd %s/build && ctest -N|grep 'Total Tests:' | awk -F ': ' '{print $2}' > testCount"
"cd %sbuild && ctest -N|grep 'Total Tests:' | awk -F ': ' '{print $2}' > testCount"
% PADDLE_ROOT)
f = open("%s/build/testCount" % PADDLE_ROOT)
f = open("%sbuild/testCount" % PADDLE_ROOT)
testCount = f.read()
f.close()
return int(testCount.strip())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册