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

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: Tom Rini <trini@konsulko.com> # rpi_3, rpi_4, rpi_arm64, am64x_evm_a53, am64-sk
test/Makefile
test/lib/Makefile
test/lib/unicode.c [moved from test/unicode_ut.c with 100% similarity]

index 220a249c39745438460b448de91b871a2f520f80..0b1affcf445515237ee0788bee744892f47101f3 100644 (file)
@@ -21,7 +21,6 @@ ifeq ($(CONFIG_XPL_BUILD),)
 obj-y += boot/
 obj-$(CONFIG_UNIT_TEST) += common/
 obj-y += log/
-obj-$(CONFIG_$(XPL_)UT_UNICODE) += unicode_ut.o
 else
 obj-$(CONFIG_SPL_UT_LOAD) += image/
 endif
index be20bbc047f77855010eb96b5819d849737979a8..c36c8b0917d4185a9faf90963ff133efd2fb65e6 100644 (file)
@@ -27,6 +27,7 @@ obj-$(CONFIG_AES) += test_aes.o
 obj-$(CONFIG_GETOPT) += getopt.o
 obj-$(CONFIG_CRC8) += test_crc8.o
 obj-$(CONFIG_UT_LIB_CRYPT) += test_crypt.o
+obj-$(CONFIG_$(XPL_)UT_UNICODE) += unicode.o
 obj-$(CONFIG_LIB_UUID) += uuid.o
 else
 obj-$(CONFIG_SANDBOX) += kconfig_spl.o
similarity index 100%
rename from test/unicode_ut.c
rename to test/lib/unicode.c