summaryrefslogtreecommitdiff
path: root/test/dm/iommu.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/dm/iommu.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/dm/iommu.c')
-rw-r--r--test/dm/iommu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dm/iommu.c b/test/dm/iommu.c
index acea5f28971..c5dd917f00c 100644
--- a/test/dm/iommu.c
+++ b/test/dm/iommu.c
@@ -38,7 +38,7 @@ static int dm_test_iommu(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_iommu, UT_TESTF_SCAN_FDT);
+DM_TEST(dm_test_iommu, UTF_SCAN_FDT);
static int dm_test_iommu_noiommu(struct unit_test_state *uts)
{
@@ -66,7 +66,7 @@ static int dm_test_iommu_noiommu(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_iommu_noiommu, UT_TESTF_SCAN_FDT);
+DM_TEST(dm_test_iommu_noiommu, UTF_SCAN_FDT);
static int dm_test_iommu_pci(struct unit_test_state *uts)
{
@@ -81,7 +81,7 @@ static int dm_test_iommu_pci(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_iommu_pci, UT_TESTF_SCAN_FDT);
+DM_TEST(dm_test_iommu_pci, UTF_SCAN_FDT);
static int dm_test_iommu_pci_noiommu(struct unit_test_state *uts)
{
@@ -96,4 +96,4 @@ static int dm_test_iommu_pci_noiommu(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_iommu_pci_noiommu, UT_TESTF_SCAN_FDT);
+DM_TEST(dm_test_iommu_pci_noiommu, UTF_SCAN_FDT);