Skip to content

selftests: error out if kernel header files are not yet built

John Hubbard linux-doc linux-kselftest lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1selftests: error out if kernel header files are not yet builttools/testing/selftests/lib.mk+33 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] selftests: error out if kernel header files are not yet built

Hi,

This is somewhat related to the 11-patch series that I just posted [1], but I hadn't originally planned to go this far with it. But since David Hildenbrand asked if we could warn in this case [2], here it is.

It turns out that automatically doing the "make headers" correctly is much harder than just warning, so I stopped at that point. It works well, though.

[1] https://lore.kernel.org/all/[email protected]/

[2] https://lore.kernel.org/all/[email protected]/

thanks,
John Hubbard

Cc David Hildenbrand <[email protected]>
Cc Peter Xu <[email protected]>
Cc Muhammad Usama Anjum <[email protected]>
Cc Jonathan Corbet <[email protected]>

John Hubbard (1):
selftests: error out if kernel header files are not yet built

 tools/testing/selftests/lib.mk | 36 +++++++++++++++++++++++++++++++---
 1 file changed, 33 insertions(+), 3 deletions(-)

base-commit: e5282a7d8f6b604f2bb6a06457734b8cf1e2f8f2

Signature · 1 line
2.40.1