Re: [PATCH] Doc: update kselftest.txt with details on how to run tests after install

From: Daniel Vetter
Date: Tue Nov 08 2016 - 09:13:40 EST


On Mon, Nov 07, 2016 at 01:24:14PM -0700, Shuah Khan wrote:
> Update kselftest.txt with details on how to run tests after install.
>
> Signed-off-by: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx>
> ---
> Documentation/kselftest.txt | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt
> index 54bee77..e5c7254 100644
> --- a/Documentation/kselftest.txt
> +++ b/Documentation/kselftest.txt
> @@ -70,6 +70,17 @@ To install selftests in an user specified location:
> $ cd tools/testing/selftests
> $ ./kselftest_install.sh install_dir
>
> +Running installed selftests
> +===========================

Since this almost looks like rst already, is there work already to put
this into the shiny new developer tool's documentation?
-Daniel

> +
> +Kselftest install as well as the Kselftest tarball provide a script
> +named "run_kselftest.sh" to run the tests.
> +
> +You can simply do the following to run the installed Kselftests. Please
> +note some tests will require root privileges.
> +
> +cd kselftest
> +./run_kselftest.sh
>
> Contributing new tests
> ======================
> --
> 2.9.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-doc" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch