Commit 09bd5578 by Shahbaz Youssefi Committed by Angle LUCI CQ

Test runner: Capture test stderr

With this change, stderr is also output when a test fails, including logs such as those originating from UNIMPLEMENTED(). Bug: angleproject:6077 Change-Id: Ice1e1f9aff26acfb630aef99865503643f0a9658 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2976184 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 72d2bd0c
...@@ -61,10 +61,10 @@ During normal mode: ...@@ -61,10 +61,10 @@ During normal mode:
During bot mode: During bot mode:
* Tests are run in multiple processes depending on the system processor count. * Tests are run in multiple processes depending on the system processor count.
* A server process records the child processes' stdout. * A server process records the child processes' stdout and stderr.
* The server terminates a child process if there's no progress after a timeout. * The server terminates a child process if there's no progress after a timeout.
* The server sorts work into batches according to the back-end configuration. * The server sorts work into batches according to the back-end configuration.
* This prevents driver errors from using mulitple back-ends in the same process. * This prevents driver errors from using multiple back-ends in the same process.
* Batches are striped to help split up slow groups of tests. * Batches are striped to help split up slow groups of tests.
* The server passes test batches to child processes via a `gtest_filter` file. * The server passes test batches to child processes via a `gtest_filter` file.
* Bot mode does not work on Android or Fuchsia. * Bot mode does not work on Android or Fuchsia.
......
...@@ -1433,7 +1433,7 @@ bool TestSuite::launchChildTestProcess(uint32_t batchId, ...@@ -1433,7 +1433,7 @@ bool TestSuite::launchChildTestProcess(uint32_t batchId,
} }
// Launch child process and wait for completion. // Launch child process and wait for completion.
processInfo.process = LaunchProcess(args, ProcessOutputCapture::StdoutAndStderrSeparately); processInfo.process = LaunchProcess(args, ProcessOutputCapture::StdoutAndStderrInterleaved);
if (!processInfo.process->started()) if (!processInfo.process->started())
{ {
......
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