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>
This commit is contained in:
Simon Glass
2024-08-22 07:57:48 -06:00
committed by Tom Rini
parent 88ae69f3b7
commit 725c438c62
142 changed files with 633 additions and 653 deletions

View File

@@ -23,7 +23,7 @@ static int dm_test_timer_base(struct unit_test_state *uts)
return 0;
}
DM_TEST(dm_test_timer_base, UT_TESTF_SCAN_PDATA | UT_TESTF_SCAN_FDT);
DM_TEST(dm_test_timer_base, UTF_SCAN_PDATA | UTF_SCAN_FDT);
/*
* Test of timebase fallback
@@ -46,4 +46,4 @@ static int dm_test_timer_timebase_fallback(struct unit_test_state *uts)
return 0;
}
DM_TEST(dm_test_timer_timebase_fallback,
UT_TESTF_SCAN_PDATA | UT_TESTF_SCAN_FDT);
UTF_SCAN_PDATA | UTF_SCAN_FDT);