]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
compression: test: Move test into lib
authorSimon Glass <sjg@chromium.org>
Sat, 2 Nov 2024 19:36:49 +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 lib/
directory, since that is where compression is implemented.

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/lib/Makefile
test/lib/compression.c [moved from test/compression.c with 100% similarity]

index 5d62b5c3357c5115018b615069852f26f230c09c..ff621344a03660739839d56954d5d682cdfb5349 100644 (file)
@@ -10,7 +10,6 @@ endif
 obj-$(CONFIG_$(XPL_)CMDLINE) += cmd/
 obj-$(CONFIG_$(XPL_)CMDLINE) += cmd_ut.o
 obj-$(CONFIG_$(XPL_)CMDLINE) += command_ut.o
-obj-$(CONFIG_$(XPL_)UT_COMPRESSION) += compression.o
 obj-y += dm/
 obj-$(CONFIG_FUZZ) += fuzz/
 ifndef CONFIG_SANDBOX_VPL
index a54387a058e9cc7f552f71fa9356b84c97707fbe..ce22780eed8e739ff8aadbda2958e9f7a8453c33 100644 (file)
@@ -2,6 +2,9 @@
 #
 # (C) Copyright 2018
 # Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
+
+obj-$(CONFIG_$(XPL_)UT_COMPRESSION) += compression.o
+
 ifeq ($(CONFIG_XPL_BUILD),)
 obj-y += cmd_ut_lib.o
 obj-y += abuf.o
similarity index 100%
rename from test/compression.c
rename to test/lib/compression.c