mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 18:41:23 +00:00
selftests/nolibc: report: extrude the test status line
two newlines are added around the test summary line to extrude the test status. Signed-off-by: Zhangjin Wu <falcon@tinylab.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
parent
0ac908e304
commit
7d92e89363
@ -85,9 +85,9 @@ CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \
|
||||
LDFLAGS := -s
|
||||
|
||||
REPORT ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{f++;print} /\[SKIPPED\][\r]*$$/{s++} \
|
||||
END{ printf("%3d test(s): %3d passed, %3d skipped, %3d failed => status: ", p+s+f, p, s, f); \
|
||||
END{ printf("\n%3d test(s): %3d passed, %3d skipped, %3d failed => status: ", p+s+f, p, s, f); \
|
||||
if (f) printf("failure\n"); else if (s) printf("warning\n"); else printf("success\n");; \
|
||||
printf("See all results in %s\n", ARGV[1]); }'
|
||||
printf("\nSee all results in %s\n", ARGV[1]); }'
|
||||
|
||||
help:
|
||||
@echo "Supported targets under selftests/nolibc:"
|
||||
|
Loading…
Reference in New Issue
Block a user