]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Add helper to skip to partial console line
authorSimon Glass <sjg@chromium.org>
Mon, 2 Oct 2023 01:15:13 +0000 (19:15 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 23:39:05 +0000 (18:39 -0500)
commit30a75e77946b8b2f4ed26e207bba3e4828629fee
tree0f3c7fea1a9473c591b54c4a5d1179ce726d9be8
parent4001e5ab9b9bd4735798477531c68cdf26951d7c
test: Add helper to skip to partial console line

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@chromium.org>
include/test/ut.h
test/ut.c