From: Simon Glass Date: Mon, 20 Jan 2025 21:26:03 +0000 (-0700) Subject: test: Sort the test suites X-Git-Tag: v2025.04-rc1~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18aa9913a11836fbb0d5b4c3404fcb6daf095b9d;p=pandora-u-boot.git test: Sort the test suites Put the suites in order by name, for easier code-maintenance. This also helps find test results for a particular swuit in the 'ut all' output. Signed-off-by: Simon Glass --- diff --git a/test/cmd_ut.c b/test/cmd_ut.c index 0b8bfe603b9..2e5519b55f9 100644 --- a/test/cmd_ut.c +++ b/test/cmd_ut.c @@ -90,7 +90,10 @@ int cmd_ut_category(struct unit_test_state *uts, const char *name, NULL, \ } +SUITE_DECL(addrmap); SUITE_DECL(bdinfo); +SUITE_DECL(bloblist); +SUITE_DECL(bootm); SUITE_DECL(bootstd); SUITE_DECL(cmd); SUITE_DECL(common); @@ -99,25 +102,25 @@ SUITE_DECL(env); SUITE_DECL(exit); SUITE_DECL(fdt); SUITE_DECL(font); -SUITE_DECL(optee); -SUITE_DECL(overlay); +SUITE_DECL(hush); SUITE_DECL(lib); +SUITE_DECL(loadm); SUITE_DECL(log); SUITE_DECL(mbr); -SUITE_DECL(mem); -SUITE_DECL(setexpr); SUITE_DECL(measurement); -SUITE_DECL(bloblist); -SUITE_DECL(bootm); -SUITE_DECL(addrmap); -SUITE_DECL(hush); -SUITE_DECL(loadm); +SUITE_DECL(mem); +SUITE_DECL(optee); +SUITE_DECL(overlay); SUITE_DECL(pci_mps); SUITE_DECL(seama); +SUITE_DECL(setexpr); SUITE_DECL(upl); static struct suite suites[] = { + SUITE(addrmap), SUITE(bdinfo), + SUITE(bloblist), + SUITE(bootm), #ifdef CONFIG_UT_BOOTSTD SUITE_CMD(bootstd, do_ut_bootstd), #endif @@ -128,25 +131,22 @@ static struct suite suites[] = { SUITE(exit), SUITE(fdt), SUITE(font), + SUITE(hush), + SUITE(lib), + SUITE(loadm), + SUITE(log), + SUITE(mbr), + SUITE(measurement), + SUITE(mem), #ifdef CONFIG_UT_OPTEE SUITE_CMD(optee, do_ut_optee), #endif #ifdef CONFIG_UT_OVERLAY SUITE_CMD(overlay, do_ut_overlay), #endif - SUITE(lib), - SUITE(log), - SUITE(mbr), - SUITE(mem), - SUITE(setexpr), - SUITE(measurement), - SUITE(bloblist), - SUITE(bootm), - SUITE(addrmap), - SUITE(hush), - SUITE(loadm), SUITE(pci_mps), SUITE(seama), + SUITE(setexpr), SUITE(upl), };