sandbox: test: Show hex values on failure
authorSimon Glass <sjg@chromium.org>
Fri, 11 Oct 2019 22:16:46 +0000 (16:16 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 16:56:41 +0000 (10:56 -0600)
commit91a8c95623af3aad1c9579f6ae9eff274d4c1b0a
tree5bf357e656c4bfcfa3c4ea4f6aa1684369fccec2
parentffc379b42c85466e1dd4c8fee8268801f26d2ab8
sandbox: test: Show hex values on failure

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/test/ut.h