Signed-off-by: Clifford Wolf <clifford@clifford.at>
for line in logf:
print(line.replace("&", "&").replace("<", "<").replace(">", ">").replace("\"", """), end="", file=f)
print('</system-out></testcase></testsuite></testsuites>', file=f)
- with open("%s/.stamp" % (job.workdir), "w") as f:
+ with open("%s/status" % (job.workdir), "w") as f:
print("%s %d %d" % (job.status, job.retcode, job.total_time), file=f)
return job.retcode