(self, output)
| 422 | pass |
| 423 | |
| 424 | def HasRun(self, output): |
| 425 | # Print test name as (for example) "parallel/test-assert". Tests that are |
| 426 | # scraped from the addons documentation are all named test.js, making it |
| 427 | # hard to decipher what test is running when only the filename is printed. |
| 428 | prefix = abspath(join(dirname(__file__), '../test')) + os.sep |
| 429 | command = output.command[-1] |
| 430 | command = NormalizePath(command, prefix) |
| 431 | |
| 432 | stdout = output.output.stdout.strip() |
| 433 | printed_file = False |
| 434 | for line in stdout.splitlines(): |
| 435 | if ( |
| 436 | (line.startswith("[aborted optimiz") or line.startswith("[disabled optimiz")) and |
| 437 | ("because:" in line or "reason:" in line) |
| 438 | ): |
| 439 | if not printed_file: |
| 440 | printed_file = True |
| 441 | print('==== %s ====' % command) |
| 442 | self.failed.append(output) |
| 443 | print(' %s' % line) |
| 444 | |
| 445 | def Done(self): |
| 446 | pass |
nothing calls this directly
no test coverage detected