]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: Move print_ut test into common
authorSimon Glass <sjg@chromium.org>
Sat, 2 Nov 2024 19:36:55 +0000 (13:36 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 17:56:01 +0000 (11:56 -0600)
This test doesn't belong at the top level. Move it into the common/
directory, to match its implementation. Rename it to drop the
unnecessary _ut suffix.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Tom Rini <trini@konsulko.com> # rpi_3, rpi_4, rpi_arm64, am64x_evm_a53, am64-sk
test/Makefile
test/common/Makefile
test/common/print.c [moved from test/print_ut.c with 100% similarity]

index 4366e495a15be5b142270e461a18ab4a91fff8e7..9f19bfa472b846e1ec12189af124cccb9ee4cc10 100644 (file)
@@ -14,7 +14,6 @@ endif
 ifneq ($(CONFIG_HUSH_PARSER),)
 obj-$(CONFIG_$(XPL_)CMDLINE) += hush/
 endif
-obj-$(CONFIG_$(XPL_)CMDLINE) += print_ut.o
 obj-$(CONFIG_$(XPL_)CMDLINE) += str_ut.o
 obj-$(CONFIG_UT_TIME) += time_ut.o
 obj-y += ut.o
index b6bff9201ec59b854590b366380c6c630fab33f4..53c4f16164d09e9fb5284e4b249a910286d993f3 100644 (file)
@@ -7,3 +7,4 @@ endif
 obj-$(CONFIG_CYCLIC) += cyclic.o
 obj-$(CONFIG_EVENT_DYNAMIC) += event.o
 obj-y += cread.o
+obj-$(CONFIG_$(XPL_)CMDLINE) += print.o
similarity index 100%
rename from test/print_ut.c
rename to test/common/print.c