]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kselftest: Document the FORCE_TARGETS build variable
authorRicardo B. Marlière <rbm@suse.com>
Fri, 17 Apr 2026 17:36:28 +0000 (14:36 -0300)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 4 May 2026 20:52:39 +0000 (14:52 -0600)
commitbb86954a672ee71f2075c4ef79e51f95391d11dd
tree56ec0d28015d007eedfe690c7b5cd8d217870473
parent254f49634ee16a731174d2ae34bc50bd5f45e731
docs: kselftest: Document the FORCE_TARGETS build variable

FORCE_TARGETS has been part of the kselftest build system for
some time but is absent from the developer documentation. Without
an entry here, users relying on kselftest in CI pipelines would
have to read the selftests Makefile directly to discover the
option.

A build that exits zero despite some targets failing can mask
real breakage and mislead automated systems into reporting
success. Add a dedicated section so that CI authors can easily
find and adopt FORCE_TARGETS=1 to turn such silent partial
failures into hard errors.

Link: https://lore.kernel.org/r/20260417-selftests-docs-v1-1-32e4a78214eb@suse.com
Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kselftest.rst