]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/nolibc: run-tests.sh: use -Werror by default
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 23 Apr 2024 16:26:06 +0000 (18:26 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Sat, 29 Jun 2024 07:44:54 +0000 (09:44 +0200)
commit774e6ef284a90ba317992387ddebedddae29b910
tree4d0ad66e24e84b6942d5cb604400cd0e65c31b3a
parent6cada28465f692a730051c9586a324926c034152
selftests/nolibc: run-tests.sh: use -Werror by default

run-tests.sh hides the output from the compiler unless the compilation
fails. To recognize newly introduced warnings use -Werror by default.

Also add a switch to disable -Werror in case the warnings are expected.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20240423-nolibc-werror-v1-1-e6f0bd66eb45@weissschuh.net
tools/testing/selftests/nolibc/Makefile
tools/testing/selftests/nolibc/run-tests.sh