Commit e51782d3 authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[test] Log output on error in perf runner

NOTRY=true
TBR=sergiyb@chromium.org

Bug: chromium:866862
Change-Id: I52737a644c36f78b1803a443b89600bb7a114082
Reviewed-on: https://chromium-review.googlesource.com/1168485Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54997}
parent f0094ead
......@@ -764,6 +764,9 @@ class AndroidPlatform(Platform): # pragma: no cover
timeout=runnable.timeout,
)
logging.info(title % "Stdout" + "\n%s", stdout)
except android.CommandFailedException as e:
logging.info(title % "Stdout" + "\n%s", e.output)
raise
except android.TimeoutException:
logging.warning(">>> Test timed out after %ss.", runnable.timeout)
stdout = ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment