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