2016-11-07 20:24:22

by Shuah Khan

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

Update kselftest.txt with details on how to run tests after install.

Signed-off-by: Shuah Khan <[email protected]>
---
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
+===========================
+
+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


2016-11-08 01:04:37

by Jonathan Corbet

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

On Mon, 7 Nov 2016 13:24:14 -0700
Shuah Khan <[email protected]> wrote:

> Update kselftest.txt with details on how to run tests after install.
>
> Signed-off-by: Shuah Khan <[email protected]>

Applied to the docs tree, thanks.

jon

2016-11-08 14:13:37

by Daniel Vetter

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

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 <[email protected]>
> ---
> 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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

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

2016-11-22 22:52:24

by Shuah Khan

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

On 11/08/2016 07:13 AM, Daniel Vetter wrote:
> 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 <[email protected]>
>> ---
>> 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
>

Not yet. I can take care of that next. Thanks for the reminder.

-- Shuah

>> +
>> +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 [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>