summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/nolibc/Makefile
diff options
context:
space:
mode:
authorZhangjin Wu <falcon@tinylab.org>2023-07-06 12:11:17 +0300
committerWilly Tarreau <w@1wt.eu>2023-08-23 05:40:22 +0300
commit7d92e89363755978c616c8d9d9f8961989e62be8 (patch)
tree881e3b42a46ac1e23c3470c2a607818117dc9ea1 /tools/testing/selftests/nolibc/Makefile
parent0ac908e304030d04b0df49fda9f216ffa204a527 (diff)
downloadlinux-7d92e89363755978c616c8d9d9f8961989e62be8.tar.xz
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>
Diffstat (limited to 'tools/testing/selftests/nolibc/Makefile')
-rw-r--r--tools/testing/selftests/nolibc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile
index bb23c5790520..1da4e07f0b3b 100644
--- a/tools/testing/selftests/nolibc/Makefile
+++ b/tools/testing/selftests/nolibc/Makefile
@@ -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:"