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

Issue 1915273002: Raise exception when devices fail to list tests. (Closed)

Created:
4 years, 8 months ago by BigBossZhiling
Modified:
4 years, 8 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, mikecase+watch_chromium.org, android-webview-reviews_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Raise exception when devices fail to list tests. Before we only make sure that list of test cases are not None, but then we realise that list of test cases should not be empty too, since sometimes when devices fail to list tests, they will not return None, but will return an empty list. BUG=585585 Committed: https://crrev.com/3d73e44f7177fe1dbb6e868120b985a6c9fb8a30 Cr-Commit-Position: refs/heads/master@{#389576}

Patch Set 1 #

Total comments: 3

Patch Set 2 : syntax fixes #

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

Messages

Total messages: 14 (5 generated)
BigBossZhiling
4 years, 8 months ago (2016-04-25 20:04:49 UTC) #3
BigBossZhiling
https://codereview.chromium.org/1915273002/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/1915273002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py#newcode324 build/android/pylib/local/device/local_device_gtest_run.py:324: if all([(tl is None or not tl) for tl ...
4 years, 8 months ago (2016-04-25 20:07:15 UTC) #4
jbudorick
https://codereview.chromium.org/1915273002/diff/1/android_webview/native/aw_gl_functor.cc File android_webview/native/aw_gl_functor.cc (right): https://codereview.chromium.org/1915273002/diff/1/android_webview/native/aw_gl_functor.cc#newcode103 android_webview/native/aw_gl_functor.cc:103: DCHECK_CURRENTLY_ON(BrowserThread::UI); This change shouldn't be in this CL. https://codereview.chromium.org/1915273002/diff/1/build/android/pylib/local/device/local_device_gtest_run.py ...
4 years, 8 months ago (2016-04-25 20:11:39 UTC) #5
BigBossZhiling
4 years, 8 months ago (2016-04-25 20:21:36 UTC) #6
jbudorick
lgtm
4 years, 8 months ago (2016-04-25 20:22:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915273002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915273002/20001
4 years, 8 months ago (2016-04-25 20:22:55 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-25 21:58:27 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3d73e44f7177fe1dbb6e868120b985a6c9fb8a30 Cr-Commit-Position: refs/heads/master@{#389576}
4 years, 8 months ago (2016-04-25 22:00:26 UTC) #13
mikecase (-- gone --)
4 years, 8 months ago (2016-04-26 19:58:17 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1923053002/ by mikecase@chromium.org.

The reason for reverting is: Looks like it is breaking upstream android bots
https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg....

Powered by Google App Engine
This is Rietveld 408576698