diff options
| author | 2026-04-22 14:32:33 +0200 | |
|---|---|---|
| committer | 2026-04-27 10:48:35 -0600 | |
| commit | 465b05bae5ac553c13315681c1490dc565337771 (patch) | |
| tree | 73e59b0c57825fa799210213691516184ba4bc69 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | selftests: kselftest: fix wrong test number in ksft_exit_skip (diff) | |
selftests: harness: Restore order of test functions
The recent addition of explicit constructor orders for fixture tests
broke the ordering of those relative to non-fixture tests and the
reverse-constructor-order detection.
Restore the ordering of the test functions relative to each other by
using the same explicit test order for all test registrations and
__constructor_order_first().
Rename the constant, as it is not specific to TEST_F() anymore.
Link: https://lore.kernel.org/r/20260422-kselftests-harness-order-v2-1-93ea980ea3ac@linutronix.de
Fixes: 6be268151426 ("selftests/harness: order TEST_F and XFAIL_ADD constructors")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
