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

Issue 4557002: [autotest] Change ChromeTestBase to work with pre-installed chrome test binaries. (Closed)

Created:
10 years, 1 month ago by Chris Masone
Modified:
9 years, 7 months ago
Reviewers:
ericli, zel
CC:
chromium-os-reviews_chromium.org, truty+cc_chromium.org, sosa+cc_chromium.org, seano+cc_chromium.org, petkov+cc_chromium.org, ericli
Visibility:
Public.

Description

[autotest] Change ChromeTestBase to work with pre-installed chrome test binaries. Instead of pulling chrome test binaries as a dep (which takes too long on VMs), we'll be pre-installing them on test images. Update the ChromeTestBase class to expect this new behavior. BUG=8544 TEST=Build a test image with chrome > -r35, run desktopui_BrowserTest Change-Id: I013b689b4ad7fe5e47760312da573a9a2b29d669 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=c18e883

Patch Set 1 #

Total comments: 2

Patch Set 2 : intermediate results #

Patch Set 3 : work with new pre-install mechanism #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -12 lines) Patch
M client/bin/site_chrome_test.py View 1 2 2 chunks +53 lines, -12 lines 4 comments Download

Messages

Total messages: 13 (0 generated)
Chris Masone
10 years, 1 month ago (2010-11-05 21:28:01 UTC) #1
ericli
There is easier ways to achieve the same goal. inside buildbot, under the prebuild autotest ...
10 years, 1 month ago (2010-11-05 21:40:30 UTC) #2
Chris Masone
On 2010/11/05 21:40:30, ericli wrote: > There is easier ways to achieve the same goal. ...
10 years, 1 month ago (2010-11-05 21:44:44 UTC) #3
Chris Masone
On 2010/11/05 21:44:44, Chris Masone wrote: > On 2010/11/05 21:40:30, ericli wrote: > > There ...
10 years, 1 month ago (2010-11-06 19:58:20 UTC) #4
Chris Masone
PTAL http://codereview.chromium.org/4557002/diff/1/client/bin/site_chrome_test.py File client/bin/site_chrome_test.py (left): http://codereview.chromium.org/4557002/diff/1/client/bin/site_chrome_test.py#oldcode13 client/bin/site_chrome_test.py:13: self.job.setup_dep(['chrome_test']) On 2010/11/05 21:40:30, ericli wrote: > why ...
10 years, 1 month ago (2010-11-09 23:08:24 UTC) #5
ericli
I also looked http://codereview.chromium.org/4756001/, are you installing only chrome-test into /usr/local/autotest-pkgs for now? Or the ...
10 years, 1 month ago (2010-11-09 23:19:44 UTC) #6
Chris Masone
On 2010/11/09 23:19:44, ericli wrote: > I also looked http://codereview.chromium.org/4756001/, are you > installing only ...
10 years, 1 month ago (2010-11-09 23:40:18 UTC) #7
ericli
Agree. I did that once, and it blows up the stateful partition and the factory ...
10 years, 1 month ago (2010-11-10 00:51:22 UTC) #8
Chris Masone
So, does this look good to you folks, zel and eric? On 2010/11/10 00:51:22, ericli ...
10 years, 1 month ago (2010-11-10 16:27:22 UTC) #9
Chris Masone
Ping? Is anyone ok with this changelist?
10 years, 1 month ago (2010-11-12 22:07:46 UTC) #10
ericli
LGTM with some nits. http://codereview.chromium.org/4557002/diff/8001/client/bin/site_chrome_test.py File client/bin/site_chrome_test.py (right): http://codereview.chromium.org/4557002/diff/8001/client/bin/site_chrome_test.py#newcode23 client/bin/site_chrome_test.py:23: self.job.add_repository(['/usr/local/autotest-pkgs']) get this value from ...
10 years, 1 month ago (2010-11-12 22:16:26 UTC) #11
zel
LGTM On Fri, Nov 12, 2010 at 2:16 PM, <ericli@chromium.org> wrote: > LGTM with some ...
10 years, 1 month ago (2010-11-13 01:20:16 UTC) #12
Chris Masone
10 years, 1 month ago (2010-11-15 23:46:22 UTC) #13
fixed nits and pushed

http://codereview.chromium.org/4557002/diff/8001/client/bin/site_chrome_test.py
File client/bin/site_chrome_test.py (right):

http://codereview.chromium.org/4557002/diff/8001/client/bin/site_chrome_test....
client/bin/site_chrome_test.py:23:
self.job.add_repository(['/usr/local/autotest-pkgs'])
On 2010/11/12 22:16:26, ericli wrote:
> get this value from globle_config.ini.
> 
> from autotest_lib.client.common_lib import global_config
> repo = global_config.global_config.get_config_value(
>                     'PACKAGES', 'fetch_location',
>                     type=str, default='/usr/local/autotest-pkgs')

Done.

http://codereview.chromium.org/4557002/diff/8001/client/bin/site_chrome_test....
client/bin/site_chrome_test.py:68: def run_chrome_test(self, test_to_run,
extra_params = ''):
On 2010/11/12 22:16:26, ericli wrote:
> no space for cmd arg default value.
> extra_params=''

Done.

Powered by Google App Engine
This is Rietveld 408576698