[U-Boot] [PATCH 1/5] sandbox: test: Show hex values on failure

sjg at google.com sjg at google.com
Tue Oct 29 23:21:38 UTC 2019


On Sat, Oct 12, 2019 at 6:28 AM Simon Glass <sjg at chromium.org> wrote:
>
> Quite a few tests use addresses or hex values for comparisons. Add hex
> output for test failures, e.g.:
>
>    0x55ca22fa == reg: Expected 0x55ca22fa (1439310586),
>         got 0x55ea22fb (1441407739)
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  include/test/ut.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list