u-boot/test/cmd
Simon Glass 2c522af748 bdinfo: Correct use of assertions
This test was written for the incorrect use of assertions. Update it to
build with the previous approach, where tests fail at the first
assertion.

All assertion functions return 0 on success and non-zero on failure.
They can be nested into functions simply by declaring a function that
returns an int and using ut_assertok() to call it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
2023-07-14 12:54:50 -04:00
..
addrmap.c addrmap: Support on sandbox 2022-07-26 02:30:56 -06:00
bdinfo.c bdinfo: Correct use of assertions 2023-07-14 12:54:50 -04:00
exit.c test: exit: fix run_commandf() warnings 2023-03-30 15:09:59 -04:00
fdt.c test: fdt: Fix copyright message 2023-04-28 11:49:00 -06:00
font.c video console: move vidconsole_get_font_size() logic to driver ops 2023-03-07 15:59:21 +01:00
loadm.c cmd: load: add load command for memory mapped 2022-06-22 11:35:47 -04:00
Makefile test: bdinfo: Add test for command bdinfo 2023-06-20 16:08:13 -04:00
mem.c test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
mem_search.c display_options: Drop two spaces before the ASCII column 2021-06-08 11:39:09 -04:00
pci_mps.c test: Add test for new command pci_mps 2023-03-30 15:09:59 -04:00
pinmux.c test: dm: pinmux: Get LED2 udevice in the pinmux test 2022-04-28 09:26:44 -04:00
pwm.c test: Wrap assert macros in ({ ... }) and fix missing semicolons 2023-03-14 16:08:51 -06:00
rw.c test: add tests of 'read' and 'write' shell commands 2023-03-17 17:27:51 -04:00
seama.c cmd: Add a SEAMA image load command 2023-02-06 17:10:15 -05:00
setexpr.c test: Disable part of the setexpr test for now 2022-11-22 15:14:25 -07:00
temperature.c test: cmd: add test for temperature command 2022-10-11 16:03:04 -04:00
test_echo.c hush: Fix assignments being misinterpreted as commands 2021-04-12 17:17:11 -04:00
test_pause.c cmd: Add pause command 2022-09-02 13:40:42 -04:00
wget.c test: cmd: add test for wget command. 2022-11-28 13:06:40 -05:00