Re: [PATCH v3] selftests: complete kselftest include centralization

Brendan Jackman
2026-01-06T12:29:10Z

On Thu Oct 16, 2025 at 10:44 AM UTC, Bala-Vignesh-Reddy wrote:
> This follow-up patch completes centralization of kselftest.h and
> ksefltest_harness.h includes in remaining seltests files, replacing all
> relative paths with a non-relative paths using shared -I include path
> in lib.mk

This seems to be breaking the x86 build for me:

❯❯ git checkout e6fbd1759c9ece5044d3470f30a5e2166dc9de89
❯❯ make -j mrproper
❯❯ make -sj100 defconfig
❯❯ make -sj100 headers
❯❯ make -sj100 -C tools/testing/selftests TARGETS="x86"
In file included from syscall_nt.c:17:
helpers.h:10:10: fatal error: kselftest.h: No such file or directory
10 | #include "kselftest.h"
| ^~~~~~~~~~~~~
[...]
❯❯ git checkout HEAD^
❯❯ make -sj100 -C tools/testing/selftests TARGETS="x86"
[builds]

If I just revert all the changes to tools/testing/selftests/x86/, it
builds again.