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

Issue 6698017: Remove test keys from images we test with in the test harness. (Closed)

Created:
9 years, 9 months ago by sosa
Modified:
9 years, 6 months ago
Reviewers:
petkov, dgarrett
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Remove test keys from images we test with in the test harness. Cleaned up _InsertKeyIntoImage to be more general (able to remove key if no key set). Also made it much more intelligent ... only doing things when it needs to. Moved mount / unmount code to cros_lib. BUG=chromium-os:12684 TEST=Ran it a lot ... inspected images after and saw tests pass. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=31b641e

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Refactored public key logic into its own module #

Total comments: 17

Patch Set 4 : Fixes for petkov #

Total comments: 1

Patch Set 5 : Change set #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -77 lines) Patch
M bin/au_test_harness/au_test.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M bin/au_test_harness/cros_au_test_harness.py View 1 2 3 4 9 chunks +46 lines, -72 lines 0 comments Download
M bin/au_test_harness/dev_server_wrapper.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M bin/au_test_harness/parallel_test_job.py View 1 3 chunks +1 line, -4 lines 0 comments Download
A bin/au_test_harness/public_key_manager.py View 1 2 3 1 chunk +91 lines, -0 lines 0 comments Download
M lib/cros_build_lib.py View 1 2 3 2 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sosa
9 years, 9 months ago (2011-03-16 18:54:59 UTC) #1
sosa
Based on off-line petkov feedback, refactored public key logic into its own module. PTAL
9 years, 9 months ago (2011-03-16 21:38:39 UTC) #2
petkov
mostly nits http://codereview.chromium.org/6698017/diff/6001/bin/au_test_harness/cros_au_test_harness.py File bin/au_test_harness/cros_au_test_harness.py (right): http://codereview.chromium.org/6698017/diff/6001/bin/au_test_harness/cros_au_test_harness.py#newcode86 bin/au_test_harness/cros_au_test_harness.py:86: if not options.delta: au_test.AUTest.modified_images.add(target) can you make ...
9 years, 9 months ago (2011-03-16 22:03:47 UTC) #3
sosa
Addressed comments. Re-tested without test_prefix :). PTAL http://codereview.chromium.org/6698017/diff/6001/bin/au_test_harness/cros_au_test_harness.py File bin/au_test_harness/cros_au_test_harness.py (right): http://codereview.chromium.org/6698017/diff/6001/bin/au_test_harness/cros_au_test_harness.py#newcode86 bin/au_test_harness/cros_au_test_harness.py:86: if not ...
9 years, 9 months ago (2011-03-16 22:47:02 UTC) #4
petkov
9 years, 9 months ago (2011-03-16 22:56:11 UTC) #5
LGTM

http://codereview.chromium.org/6698017/diff/9003/bin/au_test_harness/cros_au_...
File bin/au_test_harness/cros_au_test_harness.py (right):

http://codereview.chromium.org/6698017/diff/9003/bin/au_test_harness/cros_au_...
bin/au_test_harness/cros_au_test_harness.py:84: modified_images = set ([])
you could just say set(), I think

Powered by Google App Engine
This is Rietveld 408576698