]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: harness: Add "variant" and "self" to test metadata
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 5 May 2025 15:15:29 +0000 (17:15 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Wed, 21 May 2025 13:32:36 +0000 (15:32 +0200)
commitf46ddc2cbac34d73f959c798505d81413866ecf0
tree69ccbdb6c2091c86125068a51e9a102f4f4eb23d
parent5f036a2a8e0985e52f7cf63a06f51911b5e8cae2
selftests: harness: Add "variant" and "self" to test metadata

To get rid of setjmp()/longjmp(), the variant and self need to be usable
from __bail().

Make them available from the test metadata.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-11-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/kselftest_harness.h