diff options
author | Tom Rini <trini@konsulko.com> | 2025-02-13 09:52:16 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-13 09:53:31 -0600 |
commit | f60d1163c1fe2dd409ba1af9368715c9237e567d (patch) | |
tree | 71ba35988854f486fb5270cc1dd4dddf9e3c2979 /test/boot/bootstd_common.h | |
parent | 87dec3078a0a36d2e6da7602b9a750010c2d111d (diff) | |
parent | 404cdf0cdaacfa8595f8ec268709612d48335f01 (diff) |
Merge patch series "test: Complete the suite migration"
Simon Glass <sjg@chromium.org> says:
This series completes the removal of test commands for suites. With this
it is possible to declare a suite (including init and uninit functions)
without needing to write a command.
It also adds timing for test suites, so we can keep track of how long
things take.
Link: https://lore.kernel.org/all/20250207183121.117663-1-sjg@chromium.org/
Diffstat (limited to 'test/boot/bootstd_common.h')
-rw-r--r-- | test/boot/bootstd_common.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/test/boot/bootstd_common.h b/test/boot/bootstd_common.h index ea3ecd1166c..c61698adc02 100644 --- a/test/boot/bootstd_common.h +++ b/test/boot/bootstd_common.h @@ -13,6 +13,7 @@ /* Declare a new bootdev test */ #define BOOTSTD_TEST(_name, _flags) UNIT_TEST(_name, _flags, bootstd) +#define BOOTSTD_TEST_INIT(_name, _flags) UNIT_TEST_INIT(_name, _flags, bootstd) #define NVDATA_START_BLK ((0x400 + 0x400) / MMC_MAX_BLOCK_LEN) #define VERSION_START_BLK ((0x400 + 0x800) / MMC_MAX_BLOCK_LEN) @@ -36,15 +37,6 @@ struct unit_test_state; int bootstd_test_drop_bootdev_order(struct unit_test_state *uts); /** - * bootstd_setup_for_tests() - Set up MMC data for VBE tests - * - * Some data is needed for VBE tests to work. This function sets that up. - * - * @return 0 if OK, -ve on error - */ -int bootstd_setup_for_tests(void); - -/** * bootstd_test_check_mmc_hunter() - Check that the mmc bootdev hunter was used * * @uts: Unit test state to use for ut_assert...() functions |