mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02:00
selftests: harness: Don't set setup_completed for fixtureless tests
This field is unused and has no meaning for tests without fixtures. Don't set it for them. 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-8-ee4dd5257135@linutronix.de Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
This commit is contained in:
parent
73a3cde976
commit
fb25e99bce
|
|
@ -178,7 +178,6 @@
|
|||
struct __test_metadata *_metadata, \
|
||||
struct __fixture_variant_metadata __attribute__((unused)) *variant) \
|
||||
{ \
|
||||
_metadata->setup_completed = true; \
|
||||
if (setjmp(_metadata->env) == 0) \
|
||||
test_name(_metadata); \
|
||||
__test_check_assert(_metadata); \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user