[PATCH 03/34] test: Add helper to skip to partial console line

Simon Glass sjg at chromium.org
Wed Dec 13 21:39:41 CET 2023


Sometimes we need to skip to a line but it includes addresses or other
information which can vary depending on the runtime conditions.

Add a new ut_assert_skip_to_linen() which is similar to the existing
ut_assert_skip_to_line() function but only checks that the console line
matches up to the length of the provided string.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/test/ut.h | 30 ++++++++++++++++++++++++++++++
 test/ut.c         | 27 +++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list