]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/nolibc: only run constructor tests on nolibc
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 12 Feb 2025 18:01:01 +0000 (19:01 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Thu, 20 Feb 2025 21:04:12 +0000 (22:04 +0100)
commit00ddf4cc9756b4974e6c1d61ae22ae5dcdf29084
tree55d0d5661bec8ba9ffd2d5484822ddb7065107f8
parent16681bea9a80080765c98b545ad74c17de2d513c
selftests/nolibc: only run constructor tests on nolibc

The nolibc testsuite can be run against other libcs to test for
interoperability. Some aspects of the constructor execution are not
standardized and musl does not provide all tested feature, for one it
does not provide arguments to the constructors, anymore?

Skip the constructor tests on non-nolibc configurations.

Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250212-nolibc-test-constructor-v1-1-c963875b3da4@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/nolibc/nolibc-test.c