From f47ff316ec79b014a5a37898d46e78e61acd6b01 Mon Sep 17 00:00:00 2001 From: Anastasia Klimchuk Date: Fri, 24 Sep 2021 16:13:25 +1000 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/57918 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- tests/tests.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/tests.h') 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); -- cgit v1.2.3