mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 18:22:02 +02:00
test: Add ut_assert_nextline_empty() empty line helper
Add helper macro to test for empty lines, which is an inobvious wrapper around ut_assert_nextline("%s", "") . Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -334,6 +334,10 @@ int ut_check_console_dump(struct unit_test_state *uts, int total_bytes);
|
|||||||
return CMD_RET_FAILURE; \
|
return CMD_RET_FAILURE; \
|
||||||
} \
|
} \
|
||||||
|
|
||||||
|
/* Assert that the next console output line is empty */
|
||||||
|
#define ut_assert_nextline_empty() \
|
||||||
|
ut_assert_nextline("%s", "")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ut_check_free() - Return the number of bytes free in the malloc() pool
|
* ut_check_free() - Return the number of bytes free in the malloc() pool
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user