selftests/nolibc: introduce condition to run tests only on nolibc
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 26 Apr 2024 11:08:56 +0000 (13:08 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Sat, 29 Jun 2024 07:44:57 +0000 (09:44 +0200)
commit582facfa5a71c8211714ffe74f5167d403b968a7
treed163a6dc7190413f808990710aa0a2167cd9e2dc
parent0cf24d36bb2723da861edb5cca30656fe2637cf7
selftests/nolibc: introduce condition to run tests only on nolibc

Some tests only make sense on nolibc. To avoid gaps in the test numbers
do to inline "#ifdef NOLIBC", add a condition to formally skip these
tests.

Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/nolibc/nolibc-test.c