提交 9d2c8093 编写于 作者: O openharmony_ci 提交者: Gitee

!2 ltp用例概率串行问题修改

Merge pull request !2 from alex_hold/master
......@@ -42,10 +42,7 @@ LOG = platform_logger("DmlibLite")
def check_read_test_end(result=None, input_command=None):
if input_command not in result:
return False
index = result.find(input_command) + len(input_command)
result_output = result[index:]
result_output = result.replace(input_command, "")
if input_command.startswith("./"):
if result_output.find(CPP_TEST_STANDARD_SIGN) != -1:
if result_output.count(CPP_TEST_STANDARD_SIGN) == 2 or \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册