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

Issue 1393223002: Android gtest runner: Only query device for test list when necessary (Closed)

Created:
5 years, 2 months ago by agrieve
Modified:
5 years, 2 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@gtest-faster-7
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android gtest runner: Only query device for test list when necessary When --gtest_filter is used and contains a list of tests without wildcards, it is not necessary to query the device for the list of tests. This speeds up local development where it's comment to run just a single test at a time (saves 3 seconds). BUG=540857 Committed: https://crrev.com/065d7462c301d58b12415c7591e5647ab766fe56 Cr-Commit-Position: refs/heads/master@{#353901}

Patch Set 1 #

Total comments: 4

Patch Set 2 : reword comment #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : y #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -2 lines) Patch
M build/android/pylib/gtest/gtest_test_instance.py View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M build/android/pylib/local/device/local_device_gtest_run.py View 1 2 3 4 3 chunks +40 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (5 generated)
agrieve
On 2015/10/08 02:58:55, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:jbudorick@chromium.org
5 years, 2 months ago (2015-10-08 02:59:00 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393223002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393223002/1
5 years, 2 months ago (2015-10-08 02:59:30 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-08 05:19:23 UTC) #6
jbudorick
https://codereview.chromium.org/1393223002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py File build/android/pylib/local/device/local_device_gtest_run.py (right): https://codereview.chromium.org/1393223002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py#newcode56 build/android/pylib/local/device/local_device_gtest_run.py:56: def _ExtractTestsFromFilter(gtest_filter): It's hard for me to describe why, ...
5 years, 2 months ago (2015-10-08 15:01:46 UTC) #7
agrieve
https://codereview.chromium.org/1393223002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py File build/android/pylib/local/device/local_device_gtest_run.py (right): https://codereview.chromium.org/1393223002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py#newcode56 build/android/pylib/local/device/local_device_gtest_run.py:56: def _ExtractTestsFromFilter(gtest_filter): On 2015/10/08 15:01:46, jbudorick wrote: > It's ...
5 years, 2 months ago (2015-10-08 15:59:47 UTC) #8
agrieve
On 2015/10/08 15:59:47, agrieve wrote: > https://codereview.chromium.org/1393223002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py > File build/android/pylib/local/device/local_device_gtest_run.py (right): > > https://codereview.chromium.org/1393223002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py#newcode56 > ...
5 years, 2 months ago (2015-10-13 15:23:30 UTC) #9
jbudorick
lgtm w/ nit https://codereview.chromium.org/1393223002/diff/60001/build/android/pylib/local/device/local_device_gtest_run.py File build/android/pylib/local/device/local_device_gtest_run.py (right): https://codereview.chromium.org/1393223002/diff/60001/build/android/pylib/local/device/local_device_gtest_run.py#newcode258 build/android/pylib/local/device/local_device_gtest_run.py:258: # When the list of tests ...
5 years, 2 months ago (2015-10-13 17:17:48 UTC) #10
agrieve
https://codereview.chromium.org/1393223002/diff/60001/build/android/pylib/local/device/local_device_gtest_run.py File build/android/pylib/local/device/local_device_gtest_run.py (right): https://codereview.chromium.org/1393223002/diff/60001/build/android/pylib/local/device/local_device_gtest_run.py#newcode258 build/android/pylib/local/device/local_device_gtest_run.py:258: # When the list of tests to run is ...
5 years, 2 months ago (2015-10-13 20:13:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1393223002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1393223002/80001
5 years, 2 months ago (2015-10-13 20:20:13 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-13 23:23:45 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-10-13 23:24:39 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/065d7462c301d58b12415c7591e5647ab766fe56
Cr-Commit-Position: refs/heads/master@{#353901}

Powered by Google App Engine
This is Rietveld 408576698