When running iOS tests on devices, write stdout to a file, then dump to NSLog.
commit8ea346d9d6b25ad37eeafbc9840ab4626c8366f9
authorlliabraa@chromium.org <lliabraa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 23 Mar 2013 16:28:06 +0000 (23 16:28 +0000)
committerlliabraa@chromium.org <lliabraa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 23 Mar 2013 16:28:06 +0000 (23 16:28 +0000)
tree07f797bf3c153d0db37c2a33b5ebf5e6b38f6a2e
parent9a6361d0d53aeedb474260edb9604564608c2d58
When running iOS tests on devices, write stdout to a file, then dump to NSLog.

gtest only writes test output to stdout, but on iOS 6 devices, stdout is not
available to be retrieved from the device. This CL redirects stdout to a file
while the tests are running, then dumps the contents of that file to NSLog
(which is available to be retrieved from the device).

BUG=None

Review URL: https://chromiumcodereview.appspot.com/12328083

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190025 0039d316-1c4b-4281-b951-d872f2087c98
base/test/test_support_ios.mm