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

Issue 13533022: Android: Provide a smaller list of files to be pushed for content_browsertests. (Closed)

Created:
7 years, 8 months ago by nilesh
Modified:
7 years, 8 months ago
Reviewers:
frankf, newt (away)
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Android: Provide a smaller list of files to be pushed for content_browsertests. BUG=138275 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192656

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3

Patch Set 6 : Avoid pushing emptyfile, _HasAdbPushSucceeded fails #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -13 lines) Patch
M build/android/pylib/gtest/test_runner.py View 1 2 3 4 5 3 chunks +81 lines, -13 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nilesh
7 years, 8 months ago (2013-04-05 21:37:34 UTC) #1
newt (away)
the concept lgtm
7 years, 8 months ago (2013-04-05 22:06:46 UTC) #2
frankf
lgtm https://codereview.chromium.org/13533022/diff/4002/build/android/pylib/gtest/test_runner.py File build/android/pylib/gtest/test_runner.py (right): https://codereview.chromium.org/13533022/diff/4002/build/android/pylib/gtest/test_runner.py#newcode303 build/android/pylib/gtest/test_runner.py:303: self.adb.WaitForSdCardReady(20) Why do we need to check for ...
7 years, 8 months ago (2013-04-05 22:14:14 UTC) #3
nilesh
https://codereview.chromium.org/13533022/diff/4002/build/android/pylib/gtest/test_runner.py File build/android/pylib/gtest/test_runner.py (right): https://codereview.chromium.org/13533022/diff/4002/build/android/pylib/gtest/test_runner.py#newcode303 build/android/pylib/gtest/test_runner.py:303: self.adb.WaitForSdCardReady(20) On 2013/04/05 22:14:14, frankf wrote: > Why do ...
7 years, 8 months ago (2013-04-05 22:16:19 UTC) #4
frankf
https://codereview.chromium.org/13533022/diff/4002/build/android/pylib/gtest/test_runner.py File build/android/pylib/gtest/test_runner.py (right): https://codereview.chromium.org/13533022/diff/4002/build/android/pylib/gtest/test_runner.py#newcode303 build/android/pylib/gtest/test_runner.py:303: self.adb.WaitForSdCardReady(20) Not really (it's just a 'adb shell ls ...
7 years, 8 months ago (2013-04-05 22:19:48 UTC) #5
nilesh
Committed patchset #6 manually as r192656 (presubmit successful).
7 years, 8 months ago (2013-04-06 00:01:28 UTC) #6
nilesh
7 years, 8 months ago (2013-04-06 05:25:25 UTC) #7
Message was sent while issue was closed.
On 2013/04/05 22:19:48, frankf wrote:
>
https://codereview.chromium.org/13533022/diff/4002/build/android/pylib/gtest/...
> File build/android/pylib/gtest/test_runner.py (right):
> 
>
https://codereview.chromium.org/13533022/diff/4002/build/android/pylib/gtest/...
> build/android/pylib/gtest/test_runner.py:303: self.adb.WaitForSdCardReady(20)
> Not really (it's just a 'adb shell ls /sdcard'), but you can easily remove
> duplication by combining the two for loops together.

Do you mean something like:
if test_data or optional_test_data:
  // make sure sdcard is ready
if test_data:
  // push data
if optional_test_data:
 // push data

Will be happy to make changes in another CL.

> 
> On 2013/04/05 22:16:19, nilesh wrote:
> > On 2013/04/05 22:14:14, frankf wrote:
> > > Why do we need to check for sdcard again here?
> > 
> > if a test only has optional data and no test_data. Is it expensive?

Powered by Google App Engine
This is Rietveld 408576698