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

Issue 24007002: Add a test for installing Chrome at system level. (Closed)

Created:
7 years, 3 months ago by sukolsak
Modified:
7 years, 3 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add a test for installing Chrome at system level. NOTRY=True BUG=264859 TEST= 1) Uninstall Chrome (if it's installed.) 2) Build Chrome with Release mode and make sure that mini_installer.exe is created. 3) Go to src\chrome\test\mini_installer 4) Run "python test_installer.py config\config.config --build-dir=<build-dir> --target=Release" where <build-dir> is the path to main build directory (the parent of the Release directory). The test should pass. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222067

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address robertshield's comment. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -55 lines) Patch
D chrome/test/mini_installer/config/chrome_installed.prop View 1 chunk +0 lines, -19 lines 0 comments Download
D chrome/test/mini_installer/config/chrome_inuse.prop View 1 chunk +0 lines, -5 lines 0 comments Download
D chrome/test/mini_installer/config/chrome_not_installed.prop View 1 chunk +0 lines, -8 lines 0 comments Download
D chrome/test/mini_installer/config/chrome_not_inuse.prop View 1 chunk +0 lines, -5 lines 0 comments Download
A + chrome/test/mini_installer/config/chrome_system_installed.prop View 1 chunk +5 lines, -5 lines 0 comments Download
A chrome/test/mini_installer/config/chrome_system_inuse.prop View 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/test/mini_installer/config/chrome_system_not_installed.prop View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/mini_installer/config/chrome_system_not_inuse.prop View 1 chunk +5 lines, -0 lines 0 comments Download
A + chrome/test/mini_installer/config/chrome_user_installed.prop View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/mini_installer/config/chrome_user_inuse.prop View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/mini_installer/config/chrome_user_not_installed.prop View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/mini_installer/config/chrome_user_not_inuse.prop View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/mini_installer/config/config.config View 1 1 chunk +50 lines, -17 lines 1 comment Download

Messages

Total messages: 14 (0 generated)
sukolsak
Could you please take a look at this?
7 years, 3 months ago (2013-09-05 22:52:12 UTC) #1
robertshield
lgtm https://codereview.chromium.org/24007002/diff/1/chrome/test/mini_installer/config/config.config File chrome/test/mini_installer/config/config.config (right): https://codereview.chromium.org/24007002/diff/1/chrome/test/mini_installer/config/config.config#newcode45 chrome/test/mini_installer/config/config.config:45: "install_chrome_at_user_level", "chrome_user_installed_not_inuse", nit: mild preference to name these ...
7 years, 3 months ago (2013-09-05 23:20:11 UTC) #2
grt (UTC plus 2)
this is totally rad. lgtm.
7 years, 3 months ago (2013-09-06 02:18:48 UTC) #3
gab
Very very nice :)! This is so exciting! LGTM! Gab https://codereview.chromium.org/24007002/diff/7001/chrome/test/mini_installer/config/config.config File chrome/test/mini_installer/config/config.config (right): https://codereview.chromium.org/24007002/diff/7001/chrome/test/mini_installer/config/config.config#newcode43 ...
7 years, 3 months ago (2013-09-06 18:02:20 UTC) #4
grt (UTC plus 2)
On 2013/09/06 18:02:20, gab wrote: > Very very nice :)! This is so exciting! > ...
7 years, 3 months ago (2013-09-06 18:49:01 UTC) #5
sukolsak
On 2013/09/06 18:49:01, grt wrote: > On 2013/09/06 18:02:20, gab wrote: > > Very very ...
7 years, 3 months ago (2013-09-06 21:07:59 UTC) #6
gab
On 2013/09/06 21:07:59, sukolsak wrote: > On 2013/09/06 18:49:01, grt wrote: > > On 2013/09/06 ...
7 years, 3 months ago (2013-09-09 13:17:15 UTC) #7
gab
Once again; I'm fine with committing this CL as-is and following up with the proposed ...
7 years, 3 months ago (2013-09-09 13:18:28 UTC) #8
sukolsak
On 2013/09/09 13:18:28, gab wrote: > Once again; I'm fine with committing this CL as-is ...
7 years, 3 months ago (2013-09-09 18:27:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sukolsak@chromium.org/24007002/7001
7 years, 3 months ago (2013-09-09 18:59:18 UTC) #10
commit-bot: I haz the power
Change committed as 222067
7 years, 3 months ago (2013-09-09 19:00:06 UTC) #11
gab
On Sep 9, 2013 2:27 PM, <sukolsak@chromium.org> wrote: > > On 2013/09/09 13:18:28, gab wrote: ...
7 years, 3 months ago (2013-09-10 17:13:15 UTC) #12
sukolsak
On 2013/09/10 17:13:15, gab wrote: > On Sep 9, 2013 2:27 PM, <mailto:sukolsak@chromium.org> wrote: > ...
7 years, 3 months ago (2013-09-10 21:34:02 UTC) #13
gab
7 years, 3 months ago (2013-09-10 21:54:01 UTC) #14
Message was sent while issue was closed.
On 2013/09/10 21:34:02, sukolsak wrote:
> On 2013/09/10 17:13:15, gab wrote:
> > On Sep 9, 2013 2:27 PM, <mailto:sukolsak@chromium.org> wrote:
> > >
> > > On 2013/09/09 13:18:28, gab wrote:
> > >>
> > >> Once again; I'm fine with committing this CL as-is and following up with
> > the
> > >> proposed change.
> > >
> > >
> > >> (re-LGTM)
> > >
> > >
> > > Thank you.
> > >
> > > Just FYI, there is a bug in the installer that leaves
> > > HKEY_CURRENT_USER\Software\Chromium\BrowserCrashDumpAttempts in the
> > registry
> > > when we install/uninstall Chrome at system level (see
> > > https://codereview.chromium.org/23453032/#msg5). This patch will make the
> > > mini_installer test slave fail until that bug is fixed.
> > 
> > Interesting, I thought we were only checking a single/simple key in the
> > registry for now, no?
> 
> In chrome_user_not_installed.prop, we check that
> HKEY_CURRENT_USER\$CHROME_UPDATE_REGISTRY_SUBKEY (which is resolved to
>
HKEY_CURRENT_USER\Software\Google\Update\Clients\{8A69D345-D564-463c-AFF1-A69D9E530F96}
> or HKEY_CURRENT_USER\Software\Chromium) doesn't exist.
> 
>
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/test/mini_i...

Ah nice, well there you go, this test framework just caught it's first real
product bug :)! Congrats!

Powered by Google App Engine
This is Rietveld 408576698