diff options
author | John Hubbard <jhubbard@nvidia.com> | 2023-06-06 00:16:36 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-19 16:19:03 -0700 |
commit | 01d6c48a828b4c1cda2fadcb811b432b757bdf8e (patch) | |
tree | 9b6c31fc0c0f8d9d64b70c35f7607e950c47c711 | |
parent | 56d2afff13834020b91a81220684be946a4e1ef3 (diff) | |
download | linux-stable-01d6c48a828b4c1cda2fadcb811b432b757bdf8e.tar.gz linux-stable-01d6c48a828b4c1cda2fadcb811b432b757bdf8e.tar.bz2 linux-stable-01d6c48a828b4c1cda2fadcb811b432b757bdf8e.zip |
Documentation: kselftest: "make headers" is a prerequisite
As per a discussion with Muhammad Usama Anjum [1], the following is how
one is supposed to build selftests:
make headers && make -C tools/testing/selftests/mm
However, that's not yet documented anywhere. So add it to
Documentation/dev-tools/kselftest.rst .
[1] https://lore.kernel.org/all/bf910fa5-0c96-3707-cce4-5bcc656b6274@collabora.com/
Link: https://lkml.kernel.org/r/20230606071637.267103-11-jhubbard@nvidia.com
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Tested-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | Documentation/dev-tools/kselftest.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst index 12b575b76b20..6e35d042199c 100644 --- a/Documentation/dev-tools/kselftest.rst +++ b/Documentation/dev-tools/kselftest.rst @@ -36,6 +36,7 @@ Running the selftests (hotplug tests are run in limited mode) To build the tests:: + $ make headers $ make -C tools/testing/selftests To run the tests:: |