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

Issue 10938014: Android: uses a fifo rather than logcat for the test runner. (Closed)

Created:
8 years, 3 months ago by bulach
Modified:
8 years, 3 months ago
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Android: uses a fifo rather than logcat for the test runner. - This uses the same mechanism as webkit drt. - It fixes the "timestamping" bug (147800), as the fifo order is guaranteed (as opposed to logcat). - It also removes AndroidLogPrinter which was injected in the gtest framework. - Downside is that we won't get inline crashstack. However, those were normally useless as they were not symbolized anyways. We can still get tombstones if we detect a crash. BUG=147800 TEST=build/android/run_tests.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157541

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -103 lines) Patch
M build/android/pylib/android_commands.py View 2 chunks +2 lines, -2 lines 0 comments Download
M build/android/pylib/test_package.py View 3 chunks +10 lines, -8 lines 0 comments Download
M build/android/pylib/test_package_apk.py View 4 chunks +34 lines, -15 lines 0 comments Download
M testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java View 1 chunk +0 lines, -2 lines 0 comments Download
M testing/android/native_test_launcher.cc View 1 7 chunks +48 lines, -76 lines 1 comment Download

Messages

Total messages: 15 (0 generated)
bulach
8 years, 3 months ago (2012-09-18 15:05:34 UTC) #1
nilesh
On 2012/09/18 15:05:34, bulach wrote: LGTM minor comments.
8 years, 3 months ago (2012-09-18 15:17:40 UTC) #2
nilesh
http://codereview.chromium.org/10938014/diff/1/testing/android/native_test_launcher.cc File testing/android/native_test_launcher.cc (right): http://codereview.chromium.org/10938014/diff/1/testing/android/native_test_launcher.cc#newcode7 testing/android/native_test_launcher.cc:7: // START/END/CRASH of the test suite, FAILURE/SUCCESS of individual ...
8 years, 3 months ago (2012-09-18 15:18:02 UTC) #3
Isaac (away)
No inline crash stacks is a bit of a bummer. Because otherwise you have no ...
8 years, 3 months ago (2012-09-18 18:44:48 UTC) #4
bulach
thanks nilesh! all comments addressed.. ilevy: the stack wasn't symbolized in the first place.. I ...
8 years, 3 months ago (2012-09-19 08:43:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/10938014/6001
8 years, 3 months ago (2012-09-19 09:55:30 UTC) #6
Isaac (away)
sgtm. I'm assuming this patch will get applied downstream, too, where we do have the ...
8 years, 3 months ago (2012-09-19 10:02:02 UTC) #7
bulach
yes! because the patch was a bit risky and we don't have enough coverage upstream, ...
8 years, 3 months ago (2012-09-19 10:07:24 UTC) #8
commit-bot: I haz the power
Change committed as 157541
8 years, 3 months ago (2012-09-19 13:04:03 UTC) #9
Philippe
https://chromiumcodereview.appspot.com/10938014/diff/6001/testing/android/native_test_launcher.cc File testing/android/native_test_launcher.cc (right): https://chromiumcodereview.appspot.com/10938014/diff/6001/testing/android/native_test_launcher.cc#newcode116 testing/android/native_test_launcher.cc:116: if (mkfifo(fifo_path, 0666)) { This fails on my device ...
8 years, 3 months ago (2012-09-20 17:27:24 UTC) #10
bulach
thanks phillippe! yes, myself and peter are working on fixing this... :) sorry about the ...
8 years, 3 months ago (2012-09-20 17:39:58 UTC) #11
Philippe
On 2012/09/20 17:39:58, bulach wrote: > thanks phillippe! yes, myself and peter are working on ...
8 years, 3 months ago (2012-09-20 17:45:53 UTC) #12
nilesh
On 2012/09/20 17:27:24, Philippe wrote: > https://chromiumcodereview.appspot.com/10938014/diff/6001/testing/android/native_test_launcher.cc > File testing/android/native_test_launcher.cc (right): > > https://chromiumcodereview.appspot.com/10938014/diff/6001/testing/android/native_test_launcher.cc#newcode116 > ...
8 years, 3 months ago (2012-09-20 17:48:16 UTC) #13
Philippe
On 2012/09/20 17:48:16, nileshagrawal1 wrote: > On 2012/09/20 17:27:24, Philippe wrote: > > > https://chromiumcodereview.appspot.com/10938014/diff/6001/testing/android/native_test_launcher.cc ...
8 years, 3 months ago (2012-09-20 17:51:23 UTC) #14
bulach
8 years, 3 months ago (2012-09-21 12:25:35 UTC) #15
hey guys, I just landed this:
http://codereview.chromium.org/10957036/

all bots seem green, and I tested on a similar device that phillippe and it
passed :)

I hope everything is green now, but please let me know otherwise!

Powered by Google App Engine
This is Rietveld 408576698