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

Issue 10910087: The 'test' command is not always usable on android (Closed)

Created:
8 years, 3 months ago by yongsheng
Modified:
8 years, 3 months ago
Reviewers:
bulach, Isaac (away), Sami
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org, Shouqun Liu
Visibility:
Public.

Description

The 'test' command is not always usable on android In emulator or some devices, there is no 'test' command. So workaround this by using 'ls' to do this kind of check. BUG= TEST=run_test.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155170

Patch Set 1 #

Total comments: 6

Patch Set 2 : Refine it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M build/android/pylib/android_commands.py View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
yongsheng
hi, owners, I can't run unit tests in emulators without this patch. That's because emulators ...
8 years, 3 months ago (2012-09-05 07:48:30 UTC) #1
bulach
lgtm, thanks for the fix!
8 years, 3 months ago (2012-09-05 13:44:23 UTC) #2
yongsheng
On 2012/09/05 13:44:23, bulach wrote: > lgtm, thanks for the fix! thanks. Sami, do you ...
8 years, 3 months ago (2012-09-06 00:45:44 UTC) #3
Sami
On 2012/09/06 00:45:44, yongsheng wrote: > Sami, do you have any comments? I think your ...
8 years, 3 months ago (2012-09-06 09:34:14 UTC) #4
yongsheng
On 2012/09/06 09:34:14, Sami wrote: > On 2012/09/06 00:45:44, yongsheng wrote: > > Sami, do ...
8 years, 3 months ago (2012-09-06 09:36:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10910087/1
8 years, 3 months ago (2012-09-06 09:38:53 UTC) #6
commit-bot: I haz the power
Change committed as 155170
8 years, 3 months ago (2012-09-06 12:04:08 UTC) #7
nduca
:'( Y'all, careful with find! https://chromiumcodereview.appspot.com/10930002/
8 years, 3 months ago (2012-09-07 00:41:21 UTC) #8
Isaac (away)
https://chromiumcodereview.appspot.com/10910087/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://chromiumcodereview.appspot.com/10910087/diff/1/build/android/pylib/android_commands.py#newcode1014 build/android/pylib/android_commands.py:1014: if not status[0].find('test: not found'): This seems overly protective, ...
8 years, 3 months ago (2012-09-07 01:02:38 UTC) #9
yongsheng
thanks. http://codereview.chromium.org/10910087/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): http://codereview.chromium.org/10910087/diff/1/build/android/pylib/android_commands.py#newcode1014 build/android/pylib/android_commands.py:1014: if not status[0].find('test: not found'): On 2012/09/07 01:02:38, ...
8 years, 3 months ago (2012-09-07 01:07:04 UTC) #10
yongsheng
http://codereview.chromium.org/10910087/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): http://codereview.chromium.org/10910087/diff/1/build/android/pylib/android_commands.py#newcode1014 build/android/pylib/android_commands.py:1014: if not status[0].find('test: not found'): On 2012/09/07 01:07:05, yongsheng ...
8 years, 3 months ago (2012-09-07 01:28:07 UTC) #11
yongsheng
upload a new one. please have a check.
8 years, 3 months ago (2012-09-07 01:30:13 UTC) #12
yongsheng
On 2012/09/07 01:30:13, yongsheng wrote: > upload a new one. please have a check. @Issac ...
8 years, 3 months ago (2012-09-10 01:29:54 UTC) #13
Isaac (away)
When you upload the new CL add me to the review and I'll check it ...
8 years, 3 months ago (2012-09-10 01:48:45 UTC) #14
yongsheng
8 years, 3 months ago (2012-09-10 01:50:19 UTC) #15
On 2012/09/10 01:48:45, Isaac wrote:
> When you upload the new CL add me to the review and I'll check it over.  
> Thanks!
> 
>
http://codereview.chromium.org/10910087/diff/1/build/android/pylib/android_co...
> File build/android/pylib/android_commands.py (right):
> 
>
http://codereview.chromium.org/10910087/diff/1/build/android/pylib/android_co...
> build/android/pylib/android_commands.py:1018: if not status[0].find('No such
> file or directory'):
> That patch wasn't landed (it's going to be abandoned).  Instead, we reverted
> this one.
> 
> You'll need to make a new CL if you want to reland.
ok, i'll create a new one. Thanks.

Powered by Google App Engine
This is Rietveld 408576698