Edward O'Callaghan uploaded patch set #3 to this change.

View Change

tests/: Add programmer enumerate correspondence test

The enumerate defines within programmer.h must be aligned with
the programmer dispatch table within flashrom.c. The following
unit-tests tries to improve coverage here to avoid issues like
we saw when ENE and MEC1308 were upstreamed.

TEST=`meson build && ninja -C build test` ran.

Change-Id: I13efc4561f743edf51326d4b408be8715b630377
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
M tests/flashrom.c
M tests/tests.c
M tests/tests.h
3 files changed, 96 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/56/47356/3

To view, visit change 47356. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I13efc4561f743edf51326d4b408be8715b630377
Gerrit-Change-Number: 47356
Gerrit-PatchSet: 3
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev@google.com>
Gerrit-Reviewer: Sam McNally <sammc@google.com>
Gerrit-Reviewer: Shiyu Sun <sshiyu@google.com>
Gerrit-Reviewer: Victor Ding <victording@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset