(self, output)
| 464 | self.PrintProgress(case.GetLabel()) |
| 465 | |
| 466 | def HasRun(self, output): |
| 467 | if output.UnexpectedOutput(): |
| 468 | self.ClearLine(self.last_status_length) |
| 469 | self.PrintFailureHeader(output.test) |
| 470 | stdout = output.output.stdout.strip() |
| 471 | if len(stdout): |
| 472 | print(self.templates['stdout'] % stdout) |
| 473 | stderr = output.output.stderr.strip() |
| 474 | if len(stderr): |
| 475 | print(self.templates['stderr'] % stderr) |
| 476 | print("Command: %s" % EscapeCommand(output.command)) |
| 477 | if output.HasCrashed(): |
| 478 | print("--- %s ---" % PrintCrashed(output.output.exit_code)) |
| 479 | if output.HasTimedOut(): |
| 480 | print("--- TIMEOUT ---") |
| 481 | print("\n") # Two blank lines between failures, for visual separation |
| 482 | |
| 483 | def Truncate(self, str, length): |
| 484 | if length and (len(str) > (length - 3)): |
nothing calls this directly
no test coverage detected