diff options
author | Simon Glass <sjg@chromium.org> | 2021-05-08 06:59:58 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-06-08 11:39:09 -0400 |
commit | fbb99dcec099254f77efd7e16cdc5b31c46cc888 (patch) | |
tree | a86eeea28bb77c42d20c86fa109ad0249a26ad78 /include/test | |
parent | 090d664eac6ff3bdb39c871bb9079df8e22873fc (diff) | |
download | u-boot-fbb99dcec099254f77efd7e16cdc5b31c46cc888.zip u-boot-fbb99dcec099254f77efd7e16cdc5b31c46cc888.tar.gz u-boot-fbb99dcec099254f77efd7e16cdc5b31c46cc888.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/test/suites.h b/include/test/suites.h index f5d8e13..80b41f1 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[]); |