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/dm/reboot-mode.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/dm/reboot-mode.c')
-rw-r--r-- | test/dm/reboot-mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/reboot-mode.c b/test/dm/reboot-mode.c index 160b4da07f2..c5949092c58 100644 --- a/test/dm/reboot-mode.c +++ b/test/dm/reboot-mode.c @@ -41,7 +41,7 @@ static int dm_test_reboot_mode_gpio(struct unit_test_state *uts) } DM_TEST(dm_test_reboot_mode_gpio, - UT_TESTF_PROBE_TEST | UT_TESTF_SCAN_FDT | UT_TESTF_FLAT_TREE); + UTF_PROBE_TEST | UTF_SCAN_FDT | UTF_FLAT_TREE); static int dm_test_reboot_mode_rtc(struct unit_test_state *uts) { @@ -67,4 +67,4 @@ static int dm_test_reboot_mode_rtc(struct unit_test_state *uts) } DM_TEST(dm_test_reboot_mode_rtc, - UT_TESTF_PROBE_TEST | UT_TESTF_SCAN_FDT | UT_TESTF_FLAT_TREE); + UTF_PROBE_TEST | UTF_SCAN_FDT | UTF_FLAT_TREE); |