mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-03 15:03:22 +02:00
tests/erase: record the opcode for each erase
This allows tests to verify that the correct opcode is used when erasing, which is required to unit-test the fix to issue #525 where in some situations an incorrect erase opcode will be used. BUG=https://ticket.coreboot.org/issues/525 Change-Id: I3983fe42c2e7f06668a1bd20d2db7fafa93b8043 Signed-off-by: Peter Marheine <pmarheine@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/82251 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
@ -124,6 +124,7 @@ flashrom_tests = executable('flashrom_unit_tests',
|
||||
'-ffunction-sections',
|
||||
'-fdata-sections',
|
||||
'-U_FORTIFY_SOURCE',
|
||||
'-DFLASHROM_TEST',
|
||||
],
|
||||
export_dynamic : true,
|
||||
link_args : mocks + link_args,
|
||||
|
Reference in New Issue
Block a user