Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756201AbcKVWwY (ORCPT ); Tue, 22 Nov 2016 17:52:24 -0500 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:45308 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751644AbcKVWwX (ORCPT ); Tue, 22 Nov 2016 17:52:23 -0500 Subject: Re: [PATCH] Doc: update kselftest.txt with details on how to run tests after install To: corbet@lwn.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20161107202414.26642-1-shuahkh@osg.samsung.com> <20161108141330.2uhvznt25ypbyjno@phenom.ffwll.local> From: Shuah Khan Message-ID: Date: Tue, 22 Nov 2016 15:52:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161108141330.2uhvznt25ypbyjno@phenom.ffwll.local> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1546 Lines: 49 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 >> --- >> 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 majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >