]> git.dujemihanovic.xyz Git - u-boot.git/commit
command_ut: test: Move test into lib
authorSimon Glass <sjg@chromium.org>
Sat, 2 Nov 2024 19:36:51 +0000 (13:36 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 17:56:01 +0000 (11:56 -0600)
commita6165509f24288f04a486609af26a040fb9c247d
tree24ff3bfbb2ceedfdb4fe7b9ec3403b2cd346bb3e
parent5cf39254e3dc1424248e72e428446df251587bbf
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 <sjg@chromium.org>
Tested-by: Tom Rini <trini@konsulko.com> # rpi_3, rpi_4, rpi_arm64, am64x_evm_a53, am64-sk
test/Makefile
test/cmd/Makefile
test/cmd/command.c [moved from test/command_ut.c with 100% similarity]