diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-22 07:57:48 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-26 18:51:48 -0600 |
commit | 725c438c6271f1870636f61a68d6904dc27a1357 (patch) | |
tree | ea7305492e3b2c4c8e4887eabe7e7e273e7c8f55 /test/print_ut.c | |
parent | 88ae69f3b7efaa8de5c9d5d50081d6bf83e77ae9 (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/print_ut.c')
-rw-r--r-- | test/print_ut.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/print_ut.c b/test/print_ut.c index 53d3354ea69..eef85d16218 100644 --- a/test/print_ut.c +++ b/test/print_ut.c @@ -246,7 +246,7 @@ static int print_display_buffer(struct unit_test_state *uts) return 0; } -PRINT_TEST(print_display_buffer, UT_TESTF_CONSOLE_REC); +PRINT_TEST(print_display_buffer, UTF_CONSOLE_REC); static int print_hexdump_line(struct unit_test_state *uts) { @@ -272,7 +272,7 @@ static int print_hexdump_line(struct unit_test_state *uts) return 0; } -PRINT_TEST(print_hexdump_line, UT_TESTF_CONSOLE_REC); +PRINT_TEST(print_hexdump_line, UTF_CONSOLE_REC); static int print_do_hex_dump(struct unit_test_state *uts) { @@ -365,7 +365,7 @@ static int print_do_hex_dump(struct unit_test_state *uts) return 0; } -PRINT_TEST(print_do_hex_dump, UT_TESTF_CONSOLE_REC); +PRINT_TEST(print_do_hex_dump, UTF_CONSOLE_REC); static int snprint(struct unit_test_state *uts) { |