mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
selftests/nolibc: restore the failed tests print
The commit fa0df56a80
("selftests/nolibc: also count skipped and
failed tests in output") added counting for the skipped and failed
tests, but also removed the 'FAIL' results print, let's restore it for
it really allow users to learn the failed details without opening the
log file.
Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
parent
b3389e48bf
commit
5163b8d31e
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \
|
|||
$(CFLAGS_$(ARCH)) $(CFLAGS_STACKPROTECTOR)
|
||||
LDFLAGS := -s
|
||||
|
||||
REPORT ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{f++} /\[SKIPPED\][\r]*$$/{s++} \
|
||||
REPORT ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{f++;print} /\[SKIPPED\][\r]*$$/{s++} \
|
||||
END{ printf("%d test(s) passed, %d skipped, %d failed.\n", p, s, f); \
|
||||
printf("See all results in %s\n", ARGV[1]); }'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue