]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/nolibc: also test libc-test through regular selftest framework
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 6 Jan 2026 11:44:59 +0000 (12:44 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Sun, 11 Jan 2026 10:17:15 +0000 (11:17 +0100)
commit6fe8360b16acbfb50c703f52568cad46759be2ed
tree06a4a24cef752ddc8c5c4a7cb3f684019421dfdf
parent20c72de1f8a9e338531579bd784371aba4b7dd2c
selftests/nolibc: also test libc-test through regular selftest framework

Hook up libc-test to the regular selftest build to make sure
nolibc-test.c stays compatible with a normal libc.

As the pattern rule from lib.mk does not handle compiling a target from
a differently named source file, add an explicit rule definition.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260106-nolibc-selftests-v1-3-f82101c2c505@weissschuh.net
tools/testing/selftests/nolibc/Makefile