summaryrefslogtreecommitdiff
path: root/test/cmd/seama.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-08-22 07:57:48 -0600
committerTom Rini <trini@konsulko.com>2024-08-26 18:51:48 -0600
commit725c438c6271f1870636f61a68d6904dc27a1357 (patch)
treeea7305492e3b2c4c8e4887eabe7e7e273e7c8f55 /test/cmd/seama.c
parent88ae69f3b7efaa8de5c9d5d50081d6bf83e77ae9 (diff)
test: Rename unit-test flags
The UT_TESTF_ macros read as 'unit test test flags' which is not right. Rename to UTF ('unit test flags'). This has the benefit of being shorter, which helps keep UNIT_TEST() declarations on a single line. Give the enum a name and reference it from the UNIT_TEST() macros while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/cmd/seama.c')
-rw-r--r--test/cmd/seama.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cmd/seama.c b/test/cmd/seama.c
index b60f6550b13..235135118cf 100644
--- a/test/cmd/seama.c
+++ b/test/cmd/seama.c
@@ -26,7 +26,7 @@ static int seama_test_noargs(struct unit_test_state *uts)
ut_assert_console_end();
return 0;
}
-SEAMA_TEST(seama_test_noargs, UT_TESTF_CONSOLE_REC);
+SEAMA_TEST(seama_test_noargs, UTF_CONSOLE_REC);
static int seama_test_addr(struct unit_test_state *uts)
{
@@ -42,7 +42,7 @@ static int seama_test_addr(struct unit_test_state *uts)
ut_assert_console_end();
return 0;
}
-SEAMA_TEST(seama_test_addr, UT_TESTF_CONSOLE_REC);
+SEAMA_TEST(seama_test_addr, UTF_CONSOLE_REC);
static int seama_test_index(struct unit_test_state *uts)
{
@@ -58,7 +58,7 @@ static int seama_test_index(struct unit_test_state *uts)
ut_assert_console_end();
return 0;
}
-SEAMA_TEST(seama_test_index, UT_TESTF_CONSOLE_REC);
+SEAMA_TEST(seama_test_index, UTF_CONSOLE_REC);
int do_ut_seama(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{