|
|
Created:
7 years, 5 months ago by Siva Chandra Modified:
7 years, 5 months ago CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, nyquist Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
Description[Android Buildbot] Add option to run only host driven Python tests.
BUG=263624
NOTRY=True
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213558
Patch Set 1 #
Total comments: 1
Patch Set 2 : Change to add option to run only python tests #Messages
Total messages: 14 (0 generated)
https://chromiumcodereview.appspot.com/20073002/diff/1/build/android/pylib/ba... File build/android/pylib/base/test_dispatcher.py (left): https://chromiumcodereview.appspot.com/20073002/diff/1/build/android/pylib/ba... build/android/pylib/base/test_dispatcher.py:367: return (base_test_result.TestRunResults(), constants.ERROR_EXIT_CODE) Sorry for not being specific. While I'm fine with this (I'll leave approval to Frank), I think it'd generally be preferable to fail if we have no python tests AND no java tests. If we're missing one or the other, then it shouldn't be an error.
On 2013/07/23 23:45:36, Yaron wrote: > https://chromiumcodereview.appspot.com/20073002/diff/1/build/android/pylib/ba... > File build/android/pylib/base/test_dispatcher.py (left): > > https://chromiumcodereview.appspot.com/20073002/diff/1/build/android/pylib/ba... > build/android/pylib/base/test_dispatcher.py:367: return > (base_test_result.TestRunResults(), constants.ERROR_EXIT_CODE) > Sorry for not being specific. While I'm fine with this (I'll leave approval to > Frank), I think it'd generally be preferable to fail if we have no python tests > AND no java tests. If we're missing one or the other, then it shouldn't be an > error. You can supply -p to only run host-driven tests, which is probably what you want here.
On 2013/07/23 23:49:30, frankf wrote: > On 2013/07/23 23:45:36, Yaron wrote: > > > https://chromiumcodereview.appspot.com/20073002/diff/1/build/android/pylib/ba... > > File build/android/pylib/base/test_dispatcher.py (left): > > > > > https://chromiumcodereview.appspot.com/20073002/diff/1/build/android/pylib/ba... > > build/android/pylib/base/test_dispatcher.py:367: return > > (base_test_result.TestRunResults(), constants.ERROR_EXIT_CODE) > > Sorry for not being specific. While I'm fine with this (I'll leave approval to > > Frank), I think it'd generally be preferable to fail if we have no python > tests > > AND no java tests. If we're missing one or the other, then it shouldn't be an > > error. > > You can supply -p to only run host-driven tests, which is probably what you want > here. Given an annotation and exclude annotation, we will in general not be sure if we have only host-driven tests.
On 2013/07/23 23:45:36, Yaron wrote: > https://chromiumcodereview.appspot.com/20073002/diff/1/build/android/pylib/ba... > File build/android/pylib/base/test_dispatcher.py (left): > > https://chromiumcodereview.appspot.com/20073002/diff/1/build/android/pylib/ba... > build/android/pylib/base/test_dispatcher.py:367: return > (base_test_result.TestRunResults(), constants.ERROR_EXIT_CODE) > Sorry for not being specific. While I'm fine with this (I'll leave approval to > Frank), I think it'd generally be preferable to fail if we have no python tests > AND no java tests. If we're missing one or the other, then it shouldn't be an > error. While I agree, I took the faster route here as the code setup does not readily allow to check if python tests as well as java tests are missing.
Just chatted with nyquist. Sync instrumentation tests already run on other bots as part of SmallTest: https://code.google.com/p/chromium/codesearch#chromium/src/sync/android/javat... No need to rerun these again. So sync bot should only run the host-driven tests with -p.
PTaL at patch set 2.
lgtm
On 2013/07/24 00:29:23, Siva Chandra wrote: > PTaL at patch set 2. While I made this CL, to my eyes, it is not clear if -p is actually honored while running instrumentation tests. I am assuming frankf@, who has more insight into the code, is correct.
lgtm
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sivachandra@chromium.org/20073002/4002
Commit queue rejected this change because the description was changed between the time the change entered the commit queue and the time it was ready to commit. You can safely check the commit box again.
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sivachandra@chromium.org/20073002/4002
Message was sent while issue was closed.
Change committed as 213558 |