Commit 763e8b81 by Jamie Madill Committed by Commit Bot

Test Runner: Add more timeout logging.

Will help diagnose a timeout failure on Windows Intel. Also reduce the significant digits in time output. Bug: angleproject:3162 Change-Id: I6d6a852f572875f613dec8e4ab6e798dfde0ca9b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2420331 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com>
parent e0eb7d2e
...@@ -1110,7 +1110,11 @@ bool TestSuite::finishProcess(ProcessInfo *processInfo) ...@@ -1110,7 +1110,11 @@ bool TestSuite::finishProcess(ProcessInfo *processInfo)
if (result.type == TestResultType::Pass) if (result.type == TestResultType::Pass)
{ {
printf(" (%g ms)\n", result.elapsedTimeSeconds * 1000.0); printf(" (%0.1lf ms)\n", result.elapsedTimeSeconds * 1000.0);
}
else if (result.type == TestResultType::Timeout)
{
printf(" (TIMEOUT in %0.1lf s)\n", result.elapsedTimeSeconds);
} }
else else
{ {
......
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