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

Issue 3104020: Refactor -- make ui passive watcher, control a passive test list. (Closed)

Created:
10 years, 4 months ago by Tammo Spalink
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano, ericli, petkov+cc_chromium.org
Base URL:
http://src.chromium.org/git/autotest.git
Visibility:
Public.

Description

Refactor -- make ui passive watcher, control a passive test list. Lifted control logic into a library and made the user-editable control file into only a simple test, with no executable code. Eliminated all runtime non-startup communication between the ui and the control process. Generally made code more self-documenting. BUG=chrome-os-partner:537, 334 Change-Id: Ia80723585ba4dfbea11d24374467e0d57bc73469

Patch Set 1 #

Patch Set 2 : rebase against tot #

Total comments: 10

Patch Set 3 : address comments #

Patch Set 4 : had missed one comment #

Patch Set 5 : rebase against ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+701 lines, -652 lines) Patch
M client/bin/factory.py View 1 2 4 chunks +292 lines, -40 lines 0 comments Download
M client/bin/factory_ui View 1 2 3 11 chunks +128 lines, -145 lines 0 comments Download
M client/bin/factory_ui_lib.py View 1 2 3 chunks +6 lines, -121 lines 0 comments Download
M client/site_tests/factory_ExternalStorage/factory_ExternalStorage.py View 5 chunks +5 lines, -7 lines 0 comments Download
M client/site_tests/suite_Factory/control View 1 2 3 4 2 chunks +44 lines, -339 lines 0 comments Download
A client/site_tests/suite_Factory/test_list View 3 4 1 chunk +226 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Tammo Spalink
Sorry about the size of this CL. The goal was to clean up the control ...
10 years, 4 months ago (2010-08-19 08:46:56 UTC) #1
Tammo Spalink
Probably the best place to start looking at stuff is the control.base file (which is ...
10 years, 4 months ago (2010-08-19 08:50:06 UTC) #2
Tammo Spalink
reviews, anyone? pretty please?
10 years, 4 months ago (2010-08-20 10:34:28 UTC) #3
Tammo Spalink
10 years, 4 months ago (2010-08-20 10:34:59 UTC) #4
Tammo Spalink
this CL does bad things to the hw-qual-id gathering that used to happen ; my ...
10 years, 4 months ago (2010-08-20 10:36:46 UTC) #5
Tom Wai-Hong Tam
Cool. It is more easy to read. http://codereview.chromium.org/3104020/diff/4001/5001 File client/bin/factory.py (right): http://codereview.chromium.org/3104020/diff/4001/5001#newcode322 client/bin/factory.py:322: with open(RESULT_FILE_PATH, ...
10 years, 4 months ago (2010-08-20 22:14:20 UTC) #6
tbroch1
http://codereview.chromium.org/3104020/diff/4001/5001 File client/bin/factory.py (right): http://codereview.chromium.org/3104020/diff/4001/5001#newcode206 client/bin/factory.py:206: tag_prefix, _, count = tag.rpartition('_') I had problems here ...
10 years, 4 months ago (2010-08-20 22:43:32 UTC) #7
Tammo Spalink
http://codereview.chromium.org/3104020/diff/4001/5001 File client/bin/factory.py (right): http://codereview.chromium.org/3104020/diff/4001/5001#newcode206 client/bin/factory.py:206: tag_prefix, _, count = tag.rpartition('_') Fixed. On 2010/08/20 22:43:32, ...
10 years, 4 months ago (2010-08-23 10:50:46 UTC) #8
Tom Wai-Hong Tam
10 years, 4 months ago (2010-08-23 20:55:07 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698