2023-06-03 02:17:30

by John Hubbard

[permalink] [raw]
Subject: [PATCH v2 11/11] 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/[email protected]/

Cc: David Hildenbrand <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Muhammad Usama Anjum <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: [email protected]
Signed-off-by: John Hubbard <[email protected]>
---
Documentation/dev-tools/kselftest.rst | 1 +
1 file changed, 1 insertion(+)

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::
--
2.40.1



2023-06-05 11:46:01

by David Hildenbrand

[permalink] [raw]
Subject: Re: [PATCH v2 11/11] Documentation: kselftest: "make headers" is a prerequisite

On 03.06.23 04:15, John Hubbard wrote:
> 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/[email protected]/
>
> Cc: David Hildenbrand <[email protected]>
> Cc: Peter Xu <[email protected]>
> Cc: Muhammad Usama Anjum <[email protected]>
> Cc: Jonathan Corbet <[email protected]>
> Cc: [email protected]
> Signed-off-by: John Hubbard <[email protected]>
> ---
> Documentation/dev-tools/kselftest.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> 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::

Reviewed-by: David Hildenbrand <[email protected]>

--
Cheers,

David / dhildenb