]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Update command test to use unit-test functions
authorSimon Glass <sjg@chromium.org>
Sat, 2 Nov 2024 19:36:53 +0000 (13:36 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 17:56:01 +0000 (11:56 -0600)
commitee3c8698e0908d881ce85fd82a26f2ac96978c71
treea51f07548c52ede1fd7b3f09f2e13c5b15683da1
parentc25b35b6c6da208621e0ac61e46a4fad4337c092
test: Update command test to use unit-test functions

Rather than enabled DEBUG and using assert(), use the unit-test
functions now provided.

Drop a check that causes pytest to fail.

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/cmd/command.c