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

Issue 11557004: Fix the corner case issue with Android test sharder. (Closed)

Created:
8 years ago by frankf
Modified:
8 years ago
Reviewers:
craigdh, bulach, Yaron
CC:
chromium-reviews, ilevy+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, peter+watch_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

Fix the corner case issue with Android test sharder. Previously all gtests would run if the shard list was empty. BUG=165529 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172630

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M build/android/pylib/single_test_runner.py View 1 chunk +0 lines, -4 lines 1 comment Download
M build/android/pylib/test_package.py View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
frankf
+craigdh for him to get familiar with our scripts
8 years ago (2012-12-12 00:50:05 UTC) #1
Yaron
So this is just a left over vestige from before sharding? Now with sharding we ...
8 years ago (2012-12-12 01:30:10 UTC) #2
frankf
Yep, the code is convoluted, my goal is to simplify it. How it works now: ...
8 years ago (2012-12-12 01:51:37 UTC) #3
Yaron
lgtm
8 years ago (2012-12-12 02:18:33 UTC) #4
bulach
lgtm, thanks frank! details below: https://codereview.chromium.org/11557004/diff/1/build/android/pylib/single_test_runner.py File build/android/pylib/single_test_runner.py (left): https://codereview.chromium.org/11557004/diff/1/build/android/pylib/single_test_runner.py#oldcode332 build/android/pylib/single_test_runner.py:332: if not self._gtest_filter: yeah, ...
8 years ago (2012-12-12 11:38:59 UTC) #5
craigdh
lgtm.
8 years ago (2012-12-12 18:17:26 UTC) #6
frankf
8 years ago (2012-12-12 18:54:41 UTC) #7
Message was sent while issue was closed.
On 2012/12/12 11:38:59, bulach wrote:
> lgtm, thanks frank!
> 
> details below:
> 
>
https://codereview.chromium.org/11557004/diff/1/build/android/pylib/single_te...
> File build/android/pylib/single_test_runner.py (left):
> 
>
https://codereview.chromium.org/11557004/diff/1/build/android/pylib/single_te...
> build/android/pylib/single_test_runner.py:332: if not self._gtest_filter:
> yeah, I think this was done before we unified the sharder: it was possible to
> hit here without a "-f" param, and so we'd run all the non-disabled tests..
> now that we always go through sharding, even with one device, we always have
the
> filter set here.
> 
> btw, if you're willing to cleanup: the rebaseline option was done so when we
> merged, we'd re-generate the foo_disabled_tests at once...
> 
> this is now truly obsolete, there's no scenario in which we'd regenerate that
> file.. this "rebaseline" option pollutes and traverses a lot of layers, feel
> free to clean up when you have a moment!

@bulach: You read my mind.

Powered by Google App Engine
This is Rietveld 408576698