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

Issue 23557009: Run commands in the mini_installer test framework from the framework's directory. (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

Run commands in the mini_installer test framework from the framework's directory. The framework ran commands from the current working directory. Make it run commands from the framework's directory. 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. 5) Go to src\chrome\test 6) Run "python mini_installer\test_installer.py mini_installer\config\config.config --build-dir=<build-dir> --target=Release". The test should pass. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221361

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address robertshield's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M chrome/test/mini_installer/test_installer.py View 1 1 chunk +10 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
sukolsak
Could you please review this?
7 years, 3 months ago (2013-09-04 18:23:26 UTC) #1
gab
lgtm unless mathp has a better solution than os.path.dirname(__file__)
7 years, 3 months ago (2013-09-04 22:14:40 UTC) #2
robertshield
lgtm https://codereview.chromium.org/23557009/diff/1/chrome/test/mini_installer/test_installer.py File chrome/test/mini_installer/test_installer.py (right): https://codereview.chromium.org/23557009/diff/1/chrome/test/mini_installer/test_installer.py#newcode108 chrome/test/mini_installer/test_installer.py:108: def _RunCommand(self, command): please add a brief method ...
7 years, 3 months ago (2013-09-04 22:16:29 UTC) #3
sukolsak
Thanks. https://codereview.chromium.org/23557009/diff/1/chrome/test/mini_installer/test_installer.py File chrome/test/mini_installer/test_installer.py (right): https://codereview.chromium.org/23557009/diff/1/chrome/test/mini_installer/test_installer.py#newcode108 chrome/test/mini_installer/test_installer.py:108: def _RunCommand(self, command): On 2013/09/04 22:16:29, robertshield wrote: ...
7 years, 3 months ago (2013-09-04 22:53:49 UTC) #4
grt (UTC plus 2)
lgtm as-is. alternatively, is there an advantage to having the commands be separate executable run ...
7 years, 3 months ago (2013-09-04 23:15:17 UTC) #5
gab
On 2013/09/04 23:15:17, grt wrote: > lgtm as-is. > > alternatively, is there an advantage ...
7 years, 3 months ago (2013-09-05 00:10:23 UTC) #6
Mathieu
lgtm
7 years, 3 months ago (2013-09-05 00:22:26 UTC) #7
sukolsak
On 2013/09/04 23:15:17, grt wrote: > lgtm as-is. > > alternatively, is there an advantage ...
7 years, 3 months ago (2013-09-05 00:38:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sukolsak@chromium.org/23557009/10001
7 years, 3 months ago (2013-09-05 00:41:20 UTC) #9
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=82903
7 years, 3 months ago (2013-09-05 01:52:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sukolsak@chromium.org/23557009/10001
7 years, 3 months ago (2013-09-05 03:42:44 UTC) #11
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=82997
7 years, 3 months ago (2013-09-05 04:11:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sukolsak@chromium.org/23557009/10001
7 years, 3 months ago (2013-09-05 04:18:54 UTC) #13
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=83019
7 years, 3 months ago (2013-09-05 04:47:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sukolsak@chromium.org/23557009/10001
7 years, 3 months ago (2013-09-05 05:06:12 UTC) #15
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=83041
7 years, 3 months ago (2013-09-05 05:32:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sukolsak@chromium.org/23557009/10001
7 years, 3 months ago (2013-09-05 06:17:10 UTC) #17
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=83068
7 years, 3 months ago (2013-09-05 06:43:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sukolsak@chromium.org/23557009/10001
7 years, 3 months ago (2013-09-05 06:45:46 UTC) #19
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=83085
7 years, 3 months ago (2013-09-05 07:14:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sukolsak@chromium.org/23557009/10001
7 years, 3 months ago (2013-09-05 07:32:24 UTC) #21
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 07:34:20 UTC) #22
Message was sent while issue was closed.
Change committed as 221361

Powered by Google App Engine
This is Rietveld 408576698