summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-05-08 15:59:58 +0300
committerTom Rini <trini@konsulko.com>2021-06-08 18:39:09 +0300
commitfbb99dcec099254f77efd7e16cdc5b31c46cc888 (patch)
treea86eeea28bb77c42d20c86fa109ad0249a26ad78 /include/test
parent090d664eac6ff3bdb39c871bb9079df8e22873fc (diff)
downloadu-boot-fbb99dcec099254f77efd7e16cdc5b31c46cc888.tar.xz
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>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/suites.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/test/suites.h b/include/test/suites.h
index f5d8e139ce..80b41f188c 100644
--- a/include/test/suites.h
+++ b/include/test/suites.h
@@ -41,6 +41,7 @@ int do_ut_mem(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
int do_ut_optee(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
int do_ut_overlay(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[]);
+int do_ut_print(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
int do_ut_setexpr(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[]);
int do_ut_str(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);