vboot: have consistent output for testing macros

Extract print_passed() and print_failed() from test_eq(), and use them
consistently in all testing functions in test_common.h.

BRANCH=none
BUG=none
TEST=make runtests

Change-Id: I1d4dbf13c9ae1a8130ea7af2733044d0556fa974
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2217547
Reviewed-by: Joel Kitching <kitching@chromium.org>
1 file changed