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

Issue 23814002: Remove psutil from the mini_installer test framework. (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

Remove psutil from the mini_installer test framework. The mini_installer test framework used the psutil module to find process IDs and paths, but this module was not available on the buildslave. Remove psutil and call Windows API directly instead. NOTRY=True BUG=264859 1) Uninstall Chrome (if it's installed.) 2) Put mini_installer.exe in the same folder as test_installer.py 3) Use Python 2.6.x. Make sure that psutil is not installed. Run "python test_installer.py config\config.config". The test should pass. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220650

Patch Set 1 #

Patch Set 2 : Remove psutil from process_verifier.py. #

Total comments: 2

Patch Set 3 : Address gab's comment. #

Total comments: 10

Patch Set 4 : Address mathp's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -19 lines) Patch
M chrome/test/mini_installer/chrome_helper.py View 1 2 3 2 chunks +28 lines, -11 lines 0 comments Download
M chrome/test/mini_installer/process_verifier.py View 1 2 3 2 chunks +3 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
sukolsak
Could you please take a look?
7 years, 3 months ago (2013-08-30 06:44:33 UTC) #1
robertshield
lgtm, do you also need to change process_verifier.py?
7 years, 3 months ago (2013-08-30 12:29:14 UTC) #2
sukolsak
On 2013/08/30 12:29:14, robertshield wrote: > lgtm, do you also need to change process_verifier.py? Oops, ...
7 years, 3 months ago (2013-08-30 13:01:06 UTC) #3
gab
lgtm I'm curious, if we know about these issues does that mean our FYI bot ...
7 years, 3 months ago (2013-08-30 16:20:21 UTC) #4
sukolsak
Thanks for your review. Yes, the bot is up :) But it's still not working ...
7 years, 3 months ago (2013-08-30 19:03:36 UTC) #5
gab
On 2013/08/30 19:03:36, sukolsak wrote: > Thanks for your review. Yes, the bot is up ...
7 years, 3 months ago (2013-08-30 19:19:09 UTC) #6
grt (UTC plus 2)
lgtm
7 years, 3 months ago (2013-08-30 19:25:09 UTC) #7
Mathieu
https://codereview.chromium.org/23814002/diff/4001/chrome/test/mini_installer/chrome_helper.py File chrome/test/mini_installer/chrome_helper.py (right): https://codereview.chromium.org/23814002/diff/4001/chrome/test/mini_installer/chrome_helper.py#newcode21 chrome/test/mini_installer/chrome_helper.py:21: https://code.google.com/p/chromium/issues/detail?id=257696). When it becomes How about: This is needed ...
7 years, 3 months ago (2013-08-30 19:34:10 UTC) #8
sukolsak
Thanks. I like Python's list comprehensions :-) https://codereview.chromium.org/23814002/diff/4001/chrome/test/mini_installer/chrome_helper.py File chrome/test/mini_installer/chrome_helper.py (right): https://codereview.chromium.org/23814002/diff/4001/chrome/test/mini_installer/chrome_helper.py#newcode21 chrome/test/mini_installer/chrome_helper.py:21: https://code.google.com/p/chromium/issues/detail?id=257696). When ...
7 years, 3 months ago (2013-08-30 20:06:07 UTC) #9
Mathieu
lgtm with a question below. I trust you'll do the right thing :) https://codereview.chromium.org/23814002/diff/4001/chrome/test/mini_installer/chrome_helper.py File ...
7 years, 3 months ago (2013-08-30 20:11:15 UTC) #10
sukolsak
https://codereview.chromium.org/23814002/diff/4001/chrome/test/mini_installer/chrome_helper.py File chrome/test/mini_installer/chrome_helper.py (right): https://codereview.chromium.org/23814002/diff/4001/chrome/test/mini_installer/chrome_helper.py#newcode26 chrome/test/mini_installer/chrome_helper.py:26: process_handle = ctypes.windll.kernel32.OpenProcess( On 2013/08/30 20:11:15, Mathieu Perreault wrote: ...
7 years, 3 months ago (2013-08-30 20:22:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sukolsak@chromium.org/23814002/21001
7 years, 3 months ago (2013-08-30 20:22:56 UTC) #12
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 20:51:33 UTC) #13
Message was sent while issue was closed.
Change committed as 220650

Powered by Google App Engine
This is Rietveld 408576698