适配ltp用例串口打印串行问题

This commit is contained in:
alex_hold
2021-01-11 17:11:40 +08:00
committed by Gitee
parent 219412243b
commit 365a1ab457
+1 -4
View File
@@ -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 \