mbox series

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

Message ID 20230604013637.203330-1-jhubbard@nvidia.com (mailing list archive)
Headers show
Series selftests: error out if kernel header files are not yet built | expand

Message

John Hubbard June 4, 2023, 1:36 a.m. UTC
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/20230603021558.95299-1-jhubbard@nvidia.com/

[2] https://lore.kernel.org/all/a4fbc191-9acb-5db8-a375-96c0c1ba3fcd@redhat.com/

thanks,
John Hubbard

Cc: David Hildenbrand <david@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org

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