diff options
author | 2025-05-05 17:15:27 +0200 | |
---|---|---|
committer | 2025-05-21 15:32:35 +0200 | |
commit | 906dbc17d61c3877b93407dafdff443fc6e21d7f (patch) | |
tree | a1d87e8226e22f46d1366ee6935c420b3e04249a /scripts/lib/kdoc/kdoc_files.py | |
parent | selftests: harness: Don't set setup_completed for fixtureless tests (diff) | |
download | linux-rng-906dbc17d61c3877b93407dafdff443fc6e21d7f.tar.xz linux-rng-906dbc17d61c3877b93407dafdff443fc6e21d7f.zip |
selftests: harness: Move teardown conditional into test metadata
To get rid of setjmp()/longjmp(), the teardown logic needs to be usable
from __bail(). To access the atomic teardown conditional from there,
move it into the test metadata.
This also allows the removal of "setup_completed".
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-9-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions