test: Convert print tests to use ut framework
authorSimon Glass <sjg@chromium.org>
Sat, 8 May 2021 12:59:58 +0000 (06:59 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 8 Jun 2021 15:39:09 +0000 (11:39 -0400)
commitfbb99dcec099254f77efd7e16cdc5b31c46cc888
treea86eeea28bb77c42d20c86fa109ad0249a26ad78
parent090d664eac6ff3bdb39c871bb9079df8e22873fc
test: Convert print tests to use ut framework

This test predates the test framework in U-Boot. It uses #define DEBUG and
assert() to check the result. Update it to use the framework so it can
report failure constitent with other tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/suites.h
test/cmd_ut.c
test/print_ut.c