summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/nolibc/Makefile
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-08-03 09:28:57 +0200
committerWilly Tarreau <w@1wt.eu>2023-08-23 05:17:07 +0200
commit711edef8f7cfa57f07cd336d77970a2b182bf9fc (patch)
treea39ab1f48cfd42c23b863748996938759c91f716 /tools/testing/selftests/nolibc/Makefile
parentselftests/nolibc: prevent out of bounds access in expect_vfprintf (diff)
downloadlinux-711edef8f7cfa57f07cd336d77970a2b182bf9fc.tar.xz
linux-711edef8f7cfa57f07cd336d77970a2b182bf9fc.zip
selftests/nolibc: don't strip nolibc-test
Binary size is not important for nolibc-test and some debugging information is nice to have, so don't strip the binary during linking. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/testing/selftests/nolibc/Makefile')
-rw-r--r--tools/testing/selftests/nolibc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile
index f42adef87e12..b82d29b6c37f 100644
--- a/tools/testing/selftests/nolibc/Makefile
+++ b/tools/testing/selftests/nolibc/Makefile
@@ -82,7 +82,7 @@ CFLAGS_STACKPROTECTOR ?= $(call cc-option,-mstack-protector-guard=global $(call
CFLAGS ?= -Os -fno-ident -fno-asynchronous-unwind-tables -std=c89 \
$(call cc-option,-fno-stack-protector) \
$(CFLAGS_$(ARCH)) $(CFLAGS_STACKPROTECTOR)
-LDFLAGS := -s
+LDFLAGS :=
REPORT ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{if (!f) printf("\n"); f++; print;} /\[SKIPPED\][\r]*$$/{s++} \
END{ printf("\n%3d test(s): %3d passed, %3d skipped, %3d failed => status: ", p+s+f, p, s, f); \