mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user