提交 ee8e855c 编写于 作者: Y Yatsishin Ilya

add empty out and err columns

上级 a312cb6b
......@@ -22,8 +22,14 @@ def export_testcases_json(report, path):
for el in testcase:
if el.tag == "system-err":
row["stderr"] = el.text
else:
row["stderr"] = ""
if el.tag == "system-out":
row["stdout"] = el.text
else:
row["stdout"] = ""
json.dump(row, testcases_file)
testcases_file.write("\n")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册