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

Issue 1280002: Move test utility functions to a common place. (Closed)

Created:
10 years, 9 months ago by gauravsh
Modified:
9 years, 6 months ago
Reviewers:
Luigi Semenzato
CC:
chromium-os-reviews_chromium.org, gauravsh
Visibility:
Public.

Description

Move test utility functions to a common place. Also removes the dev_mode flag from Firmware Image verification as key signature for the firmware should be checked whether or not dev mode is enabled. BUG=670 TEST=All tests still pass. Merge remote branch 'refs/remotes/origin/master' into fixtests Fix tests, remove dev mode. Move common code.

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -501 lines) Patch
M src/platform/vboot_reference/include/firmware_image.h View 4 chunks +4 lines, -14 lines 0 comments Download
M src/platform/vboot_reference/include/kernel_image.h View 1 chunk +6 lines, -6 lines 0 comments Download
M src/platform/vboot_reference/tests/Makefile View 1 chunk +6 lines, -5 lines 0 comments Download
M src/platform/vboot_reference/tests/firmware_image_tests.c View 3 chunks +26 lines, -129 lines 0 comments Download
M src/platform/vboot_reference/tests/firmware_rollback_tests.c View 1 chunk +0 lines, -67 lines 0 comments Download
M src/platform/vboot_reference/tests/firmware_verify_benchmark.c View 4 chunks +5 lines, -49 lines 0 comments Download
M src/platform/vboot_reference/tests/kernel_image_tests.c View 3 chunks +49 lines, -130 lines 0 comments Download
M src/platform/vboot_reference/tests/kernel_verify_benchmark.c View 3 chunks +4 lines, -58 lines 0 comments Download
M src/platform/vboot_reference/tests/test_common.h View 1 chunk +48 lines, -1 line 0 comments Download
M src/platform/vboot_reference/tests/test_common.c View 2 chunks +186 lines, -1 line 0 comments Download
M src/platform/vboot_reference/tests/verify_firmware_fuzz_driver.c View 1 chunk +1 line, -2 lines 0 comments Download
M src/platform/vboot_reference/utils/firmware_image.c View 1 7 chunks +26 lines, -37 lines 0 comments Download
M src/platform/vboot_reference/utils/firmware_utility.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
gauravsh
10 years, 9 months ago (2010-03-24 22:14:24 UTC) #1
gauravsh
ping? On Wed, Mar 24, 2010 at 3:14 PM, <gauravsh@chromium.org> wrote: > Reviewers: Luigi Semenzato, ...
10 years, 9 months ago (2010-03-25 18:07:02 UTC) #2
Luigi Semenzato
10 years, 9 months ago (2010-03-25 19:45:20 UTC) #3
LGTM after fixing minor indentation problem.

http://codereview.chromium.org/1280002/diff/1/13
File src/platform/vboot_reference/utils/firmware_image.c (right):

http://codereview.chromium.org/1280002/diff/1/13#newcode727
src/platform/vboot_reference/utils/firmware_image.c:727: return
BOOT_FIRMWARE_B_CONTINUE;
Indentation?

Powered by Google App Engine
This is Rietveld 408576698