Commit e0ed6f1d authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Add more logging in DoLaunchChildTestProcess().

When it calls ReadFileToString() and fails, log the name of the file it
is trying to read.

BUG=826408

Change-Id: I546977b985c71cbd631820e7d7950b7f7449faba
Reviewed-on: https://chromium-review.googlesource.com/1024743Reviewed-by: default avatarJulia Tuttle <juliatuttle@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553188}
parent 852700db
......@@ -520,7 +520,8 @@ void DoLaunchChildTestProcess(
if (redirect_stdio) {
fflush(output_file.get());
output_file.reset();
CHECK(ReadFileToString(output_filename, &output_file_contents));
CHECK(ReadFileToString(output_filename, &output_file_contents))
<< output_filename;
if (!DeleteFile(output_filename, false)) {
// This needs to be non-fatal at least for Windows.
......
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