Skip to content

Commit

Permalink
test: report timeout in TapReporter
Browse files Browse the repository at this point in the history
Be slightly more verbose in cases where tests time out.

PR-URL: #2647
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • Loading branch information
skomski authored and jbergstroem committed Oct 7, 2015
1 parent 0116da1 commit 10924ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ def HasRun(self, output):
if FLAKY in output.test.outcomes and self.flaky_tests_mode == DONTCARE:
status_line = status_line + ' # TODO : Fix flaky test'
logger.info(status_line)

if output.HasTimedOut():
logger.info('# TIMEOUT')

for l in output.output.stderr.splitlines():
logger.info('#' + l)
for l in output.output.stdout.splitlines():
Expand Down

0 comments on commit 10924ce

Please sign in to comment.