Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Issue 12328083: When running iOS tests on devices, write stdout to a file, then dump to NSLog. (Closed)

Created:
7 years, 10 months ago by lliabraa
Modified:
7 years, 9 months ago
Reviewers:
Paweł Hajdan Jr.
CC:
chromium-reviews, erikwright+watch_chromium.org, sail+watch_chromium.org, jar (doing other things)
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190025

Patch Set 1 #

Patch Set 2 : moved logic to test_support_ios.mm #

Patch Set 3 : also redirect stderr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -0 lines) Patch
M base/test/test_support_ios.mm View 1 2 2 chunks +60 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
lliabraa
This is a second attempt to write gtest output to NSLog when running iOS tests ...
7 years, 10 months ago (2013-02-25 13:49:46 UTC) #1
Paweł Hajdan Jr.
On 2013/02/25 13:49:46, Lane LiaBraaten wrote: > The gtest maintainers were not interested in a ...
7 years, 10 months ago (2013-02-25 19:51:05 UTC) #2
lliabraa
On 2013/02/25 19:51:05, Paweł Hajdan Jr. wrote: > On 2013/02/25 13:49:46, Lane LiaBraaten wrote: > ...
7 years, 9 months ago (2013-02-27 14:48:28 UTC) #3
Paweł Hajdan Jr.
On 2013/02/27 14:48:28, Lane LiaBraaten wrote: > I suppose I could have another thread reading ...
7 years, 9 months ago (2013-03-04 18:12:46 UTC) #4
lliabraa
On 2013/03/04 18:12:46, Paweł Hajdan Jr. wrote: > On 2013/02/27 14:48:28, Lane LiaBraaten wrote: > ...
7 years, 9 months ago (2013-03-19 14:50:47 UTC) #5
Paweł Hajdan Jr.
On 2013/03/19 14:50:47, Lane LiaBraaten wrote: > On iOS we only get one process, so ...
7 years, 9 months ago (2013-03-19 17:05:28 UTC) #6
lliabraa
On 2013/03/19 17:05:28, Paweł Hajdan Jr. wrote: > On 2013/03/19 14:50:47, Lane LiaBraaten wrote: > ...
7 years, 9 months ago (2013-03-19 17:19:13 UTC) #7
Paweł Hajdan Jr.
On 2013/03/19 17:19:13, Lane LiaBraaten wrote: > As I explained in that thread, NSLog is ...
7 years, 9 months ago (2013-03-19 17:50:50 UTC) #8
lliabraa
On 2013/03/19 17:50:50, Paweł Hajdan Jr. wrote: > On 2013/03/19 17:19:13, Lane LiaBraaten wrote: > ...
7 years, 9 months ago (2013-03-20 19:04:01 UTC) #9
Paweł Hajdan Jr.
LGTM
7 years, 9 months ago (2013-03-20 19:55:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/12328083/15001
7 years, 9 months ago (2013-03-21 11:36:13 UTC) #11
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=22185
7 years, 9 months ago (2013-03-21 16:21:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/12328083/15001
7 years, 9 months ago (2013-03-21 16:39:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/12328083/15001
7 years, 9 months ago (2013-03-22 10:50:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/12328083/15001
7 years, 9 months ago (2013-03-22 18:11:24 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/12328083/15001
7 years, 9 months ago (2013-03-23 14:43:17 UTC) #16
commit-bot: I haz the power
7 years, 9 months ago (2013-03-23 16:28:11 UTC) #17
Message was sent while issue was closed.
Change committed as 190025

Powered by Google App Engine
This is Rietveld 408576698