[PATCH 01/21] bloblist: test: Move test into common
Tom Rini
trini at konsulko.com
Fri Nov 1 22:46:05 CET 2024
On Mon, Oct 28, 2024 at 01:41:06PM +0100, Simon Glass wrote:
> This test doesn't belong at the top level. Move it into the common/
> directory, to match its implementation.
>
> This also fixes the build rule for the bootm test, which was depending
> on bloblist by mistake.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> test/Makefile | 3 ---
> test/common/Makefile | 3 +++
> test/{ => common}/bloblist.c | 0
> 3 files changed, 3 insertions(+), 3 deletions(-)
> rename test/{ => common}/bloblist.c (100%)
On rpi_3_32b (and presumably others):
test/py/tests/test_ut.py ss....F
=================================== FAILURES ===================================
_______________________ test_ut[ut_bootm_bootm_test_nop] _______________________
test/py/tests/test_ut.py:592: in test_ut
assert output.endswith('Failures: 0')
E AssertionError: assert False
E + where False = <built-in method endswith of str object at 0x2bfcb00>('Failures: 0')
E + where <built-in method endswith of str object at 0x2bfcb00> = 'ut - unit tests\r\n\r\nUsage:\r\nut [-r] [-f] [<suite>] - run unit tests\r\n -r<runs> Number of times to run each...elated commands\r\nprint - printing things to the console\r\nsetexpr - setexpr command\r\nunicode - Unicode functions'.endswith
----------------------------- Captured stdout call -----------------------------
U-Boot> ut bootm bootm_test_nop
ut - unit tests
Usage:
ut [-r] [-f] [<suite>] - run unit tests
-r<runs> Number of times to run each test
-f Force 'manual' tests to run as well
<suite> Test suite to run, or all
Options for <suite>:
all - execute all enabled tests
info - show info about tests
bdinfo - bdinfo command
bootstd - standard boot implementation
cmd - test various commands
env - environment
fdt - fdt command
hush - Test hush behavior
lib - library functions
log - logging functions
mem - memory-related commands
print - printing things to the console
setexpr - setexpr command
unicode - Unicode functions
U-Boot>
=========================== short test summary info ============================
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241101/f4772dd4/attachment.sig>
More information about the U-Boot
mailing list