Lines Matching refs:res

532                         res = wrapper.wrap(" ".join(cmdline).strip())
534 res = wrapper.wrap(cmdline.strip())
535 self.debug(" \\\n".join(res))
1114 def __init__(self, res):
1115 self.errors = [(str(test), err) for test, err in res.errors]
1116 self.failures = [(str(test), err) for test, err in res.failures]
1117 self.mismatches = len(res.mismatches)
1118 self.num_successes = len(res.success)
1119 self.skips = res.skips
1120 self.testsRun = res.testsRun
1232 res = ""
1234 res += "{0}{1}\n".format(prefix, s)
1235 return res
1240 res = "\n.---" + title + trailingdashes + "\n"
1244 res += "| {0}\n".format(s)
1245 res += "`---" + len(title) * "-" + trailingdashes
1246 return _Pkg5TestResult.fmt_prefix_with(res, prefix)
1293 res = self.fmt_parseable(bresult, "pass", expected)
1297 res = "match pass"
1299 res = "MISMATCH pass (expected: {0})".format(
1301 res = self.fmt_box(errinfo,
1305 res = "."
1308 self.stream.write(res + "\n")
1310 self.stream.write(res)
1347 res = self.fmt_parseable(bresult, "ERROR", expected)
1348 res += "\n# {0}\n".format(str(errval).strip())
1350 res = self.fmt_parseable(bresult, "ERROR", expected)
1351 res += "\n"
1354 res += self.fmt_prefix_with(errinfo, "# ")
1363 res = "{0} ERROR\n".format(b)
1364 res += "#\t{0}".format(str(errval))
1366 res = "{0} ERROR\n".format(b)
1369 res += self.fmt_box(errinfo,
1374 res = "e"
1376 res = "E"
1379 self.stream.write(res)
1381 self.stream.write(res + "\n")
1396 res = ""
1399 res += dbgbuf
1401 res += self._exc_info_to_string(error, test)
1402 return res
1418 res = self.fmt_parseable(bresult, "FAIL", expected)
1419 res += "\n"
1422 res += self.fmt_prefix_with(errinfo, "# ")
1425 res = "MISMATCH FAIL (expected: {0})".format(expected)
1427 res = "match FAIL (expected: FAIL)"
1431 res += self.fmt_box(errinfo,
1436 res = "f"
1438 res = "F"
1441 self.stream.write(res)
1443 self.stream.write(res + "\n")
1469 res = "# ERROR during persistent setup for {0}\n".format(test.id())
1470 res += "# As a result, all test cases in this class will " \
1474 res += "# " + str(errval)
1476 res += self.fmt_box(errinfo, \
1478 self.stream.write(res + "\n")
1485 res = "# ERROR during persistent teardown for {0}\n".format(test.id())
1487 res += "# " + str(errval)
1489 res += self.fmt_box(errinfo, \
1491 self.stream.write(res + "\n")
1546 res = _Pkg5TestResult(s, o, b, bailonfail=bail_on_fail,
1548 res.coverage = cov
1549 return res
2273 res = ""
2275 res += "\n".join(
2277 res += "\n"
2278 return res
2419 res = pkg.client.api.ImageInterface(img_path,
2422 return res
2586 res = self.pkg(command=cmd, exit=exit, comment=comment,
2593 return res