提交 b606df1c 编写于 作者: S stivn

modified method of getting device log

Signed-off-by: Nstivn <sunteng10@huawei.com>
上级 9dac9bf1
......@@ -737,7 +737,7 @@ class JSUnitTestDriver(IDriver):
as file_read_pipe:
while True:
data = file_read_pipe.readline()
if not data or not data.strip():
if not data:
break
# only filter JSApp log
if data.find("JSApp:") != -1:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册