for line in self.summary:
self.log("summary: %s" % line)
- self.log("DONE (%s)" % self.status)
-
assert self.status in ["PASS", "FAIL", "UNKNOWN", "ERROR", "TIMEOUT"]
if self.status in self.expect:
if self.status == "UNKNOWN": self.retcode = 4
if self.status == "TIMEOUT": self.retcode = 5
+ self.log("DONE (%s, rc=%d)" % (self.status, self.retcode))
+
with open("%s/%s" % (self.workdir, self.status), "w") as f:
for line in self.summary:
print(line, file=f)