未验证 提交 766a55ce 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'apahim/fix_tap'

Signed-off-by: NCleber Rosa <crosa@redhat.com>
......@@ -106,9 +106,11 @@ class TAPResult(ResultEvents):
name = "_" + name
# First log the system output
self.__write("# debug.log of %s:", name)
if state.get('text_output'):
for line in state['text_output'].splitlines():
self.__write("# %s", line)
with open(state.get("logfile"), "r") as logfile_obj:
for line in logfile_obj:
self.__write("# %s", line.rstrip())
if status == "PASS":
self.__write("ok %s %s", result.tests_run, name)
elif status == "WARN":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册