diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2021-09-24 16:13:25 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-11-29 01:38:39 +0000 |
commit | f47ff316ec79b014a5a37898d46e78e61acd6b01 (patch) | |
tree | af8f376a6e5131e02fbf55b6d3d93a369e580b8e /tests/tests.h | |
parent | 421d9133bb9d107e9a2596352d631bde14168393 (diff) | |
download | flashrom-f47ff316ec79b014a5a37898d46e78e61acd6b01.tar.gz flashrom-f47ff316ec79b014a5a37898d46e78e61acd6b01.tar.bz2 flashrom-f47ff316ec79b014a5a37898d46e78e61acd6b01.zip |
tests: Add init-shutdown test for raiden_debug_spi
This patch adds a test for raiden_debug_spi and lots of libusb wraps.
libusb.h becomes required for tests to build and run, since new tests
are using libusb structs in depth and opaque symbols not sufficient
anymore.
BUG=b:181803212
TEST=builds and ninja test
Change-Id: I880a8637ab02de179df9169c1898230bce4dc1c7
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/57918
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'tests/tests.h')
-rw-r--r-- | tests/tests.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tests.h b/tests/tests.h index 732920a98..16974af21 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -43,6 +43,7 @@ void probe_spi_st95_test_success(void **state); /* spi95.c */ /* init_shutdown.c */ void dummy_init_and_shutdown_test_success(void **state); void nicrealtek_init_and_shutdown_test_success(void **state); +void raiden_debug_init_and_shutdown_test_success(void **state); void dediprog_init_and_shutdown_test_success(void **state); void linux_mtd_init_and_shutdown_test_success(void **state); void linux_spi_init_and_shutdown_test_success(void **state); |