diff options
author | Simon Glass <sjg@chromium.org> | 2024-11-02 13:36:49 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-13 11:56:01 -0600 |
commit | e67cc4ba1f45c2c7ab0ca1e3cf8da1c5893f7cb5 (patch) | |
tree | ee31b7ca16278fb81a6952031f1537d310a9af95 | |
parent | a5896b8a3e69aa73914bb5811555c89e22a127b5 (diff) |
compression: test: Move test into lib
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
-rw-r--r-- | test/Makefile | 1 | ||||
-rw-r--r-- | test/lib/Makefile | 3 | ||||
-rw-r--r-- | test/lib/compression.c (renamed from test/compression.c) | 0 |
3 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index 5d62b5c3357..ff621344a03 100644 --- a/test/Makefile +++ b/test/Makefile @@ -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 diff --git a/test/lib/Makefile b/test/lib/Makefile index a54387a058e..ce22780eed8 100644 --- a/test/lib/Makefile +++ b/test/lib/Makefile @@ -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 diff --git a/test/compression.c b/test/lib/compression.c index 618a1936955..618a1936955 100644 --- a/test/compression.c +++ b/test/lib/compression.c |