]> git.baikalelectronics.ru Git - uboot.git/commit
efi_selftest: colored test output
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 11 Jan 2018 07:15:54 +0000 (08:15 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:12 +0000 (23:09 +0100)
commit5735f2aa71723740319a7e8bfa32c1e1f56577ff
treed3ddb07cbcf89b8673a7d06ca24303e6f3df56c7
parent2a733bc06141206e35cc2a938006719ba3598712
efi_selftest: colored test output

Add color coding to output:
test section    blue
success         green
errors          red
todo            yellow
summary         white
others          light gray

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
[agraf: Fold in move of set_attribute before the print]
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_selftest.h
lib/efi_selftest/efi_selftest.c
lib/efi_selftest/efi_selftest_console.c