1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-06-30 21:52:36 +02:00

tests/: Add spi25.c unit tests

BUG=b:157280555
BRANCH=none
TEST=builds

Change-Id: I47112952835ce2c4c773a9d90379ff8ceefaaf9a
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/41645
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Edward O'Callaghan
2020-05-22 16:46:26 +10:00
committed by Edward O'Callaghan
parent 46f2d4e488
commit 41f48c75a2
4 changed files with 196 additions and 0 deletions

View File

@ -2,11 +2,13 @@ root_includes = include_directories('../subprojects')
srcs = [
'tests.c',
'spi25.c',
]
mocks = [
'-Wl,--wrap=physunmap',
'-Wl,--wrap=physmap',
'-Wl,--wrap=spi_send_command',
'-Wl,--gc-sections',
]