diff options
| author | Simon Glass <[email protected]> | 2024-11-02 13:36:51 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-11-13 11:56:01 -0600 |
| commit | a6165509f24288f04a486609af26a040fb9c247d (patch) | |
| tree | 24ff3bfbb2ceedfdb4fe7b9ec3403b2cd346bb3e /test | |
| parent | 5cf39254e3dc1424248e72e428446df251587bbf (diff) | |
command_ut: 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.
Rename it to just 'command', since it is obviously a unit test and the
_ut suffix does not add much except to make it different from the names
of other test files.
Signed-off-by: Simon Glass <[email protected]>
Tested-by: Tom Rini <[email protected]> # rpi_3, rpi_4, rpi_arm64, am64x_evm_a53, am64-sk
Diffstat (limited to 'test')
| -rw-r--r-- | test/Makefile | 1 | ||||
| -rw-r--r-- | test/cmd/Makefile | 1 | ||||
| -rw-r--r-- | test/cmd/command.c (renamed from test/command_ut.c) | 0 |
3 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index ff621344a03..48d8bc91ae6 100644 --- a/test/Makefile +++ b/test/Makefile @@ -9,7 +9,6 @@ obj-$(CONFIG_$(XPL_)CMDLINE) += bootm.o endif obj-$(CONFIG_$(XPL_)CMDLINE) += cmd/ obj-$(CONFIG_$(XPL_)CMDLINE) += cmd_ut.o -obj-$(CONFIG_$(XPL_)CMDLINE) += command_ut.o obj-y += dm/ obj-$(CONFIG_FUZZ) += fuzz/ ifndef CONFIG_SANDBOX_VPL diff --git a/test/cmd/Makefile b/test/cmd/Makefile index fe7a2165af2..6231a08186d 100644 --- a/test/cmd/Makefile +++ b/test/cmd/Makefile @@ -5,6 +5,7 @@ obj-y += cmd_ut_cmd.o +obj-$(CONFIG_$(XPL_)CMDLINE) += command.o ifdef CONFIG_HUSH_PARSER obj-$(CONFIG_CONSOLE_RECORD) += test_echo.o endif diff --git a/test/command_ut.c b/test/cmd/command.c index 2b8d28d7ae3..2b8d28d7ae3 100644 --- a/test/command_ut.c +++ b/test/cmd/command.c |
