summaryrefslogtreecommitdiff
path: root/test/boot/bootstd_common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-01-20 14:25:32 -0700
committerTom Rini <trini@konsulko.com>2025-01-24 14:34:40 -0600
commit4ba3ab4901c564725c37e927e2ba29595712cd9d (patch)
treeb36263667b0fccf7b57bc5911f39e0c1181e5a5c /test/boot/bootstd_common.h
parentc16b388ea8bcee9acd17a555e66e61c72b973128 (diff)
test: Drop the _test suffix on linker lists
Most test suites have a _test suffix. This is not necessary as there is also a ut_ prefix. Drop the suffix so that (with future work) the suite name can be used as the linker-list name. Remove the suffix from the pytest regex as well, moving it to the top of the file, as it is a constant. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/boot/bootstd_common.h')
-rw-r--r--test/boot/bootstd_common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/boot/bootstd_common.h b/test/boot/bootstd_common.h
index e29036c897c..ea3ecd1166c 100644
--- a/test/boot/bootstd_common.h
+++ b/test/boot/bootstd_common.h
@@ -12,8 +12,7 @@
#include <version_string.h>
/* Declare a new bootdev test */
-#define BOOTSTD_TEST(_name, _flags) \
- UNIT_TEST(_name, _flags, bootstd_test)
+#define BOOTSTD_TEST(_name, _flags) UNIT_TEST(_name, _flags, bootstd)
#define NVDATA_START_BLK ((0x400 + 0x400) / MMC_MAX_BLOCK_LEN)
#define VERSION_START_BLK ((0x400 + 0x800) / MMC_MAX_BLOCK_LEN)