Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754475AbdFWOEW (ORCPT ); Fri, 23 Jun 2017 10:04:22 -0400 Received: from resqmta-po-03v.sys.comcast.net ([96.114.154.162]:46998 "EHLO resqmta-po-03v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754030AbdFWOEU (ORCPT ); Fri, 23 Jun 2017 10:04:20 -0400 Reply-To: shuah@kernel.org Subject: Re: [PATCH v2 12/29] kselftest.rst: do some adjustments after ReST conversion To: Mauro Carvalho Chehab , Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan , Shuah Khan References: <2932e5ece623ed990b6c3b80174df270278dc314.1497713210.git.mchehab@s-opensource.com> From: Shuah Khan Message-ID: <4dadc4bc-8923-159c-f27b-f1cef60b2444@kernel.org> Date: Fri, 23 Jun 2017 08:04:02 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfB4valbHJw5ACqUruFPcrhus8oNLJk90UZ1p/RqXMlRlDZIuWhjioNvCSLpweOHfpUasobWUoKNSer2uPXr6v6FsiUIrBf/xP3NqGT1OXXzwuBeNZw/Q 5x1KUj5aGTVvRkMnvQS4Stgef07XUPq5XxVECX+X24CkJUxu2z8f0D6uRSyDwAwabelFIJ4EbcjZY3EBREnrI7avJSSAMSXHwiOsb+JU8Xbi0YHi/y9o44Tc qhFLm+MmTvnibrvEWxhBr5ZPxOTrJuyeYPe+sRUSGGicV1yE7A/mKWYup1QApTXCi8nJnluGrylE2hOqghU9rp5ujH4pW1IJxh5iLet61Fx00wpY7kJ18Ugc 70GapHVdwDHbhEGN3dcmTd14oHwnlc8yXUGin7v/9IqLrG4ax01p/FaL3VejnTE7ApeqTLDF Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3748 Lines: 123 Hi Mauro, On 06/17/2017 09:26 AM, Mauro Carvalho Chehab wrote: > Do some minor adjustments after ReST conversion: > > - On most documents, we use prepend a "$ " before > command line arguments; > > - Prefer to use :: on the preceding line; > > - Split a multi-paragraph description as such. > > Signed-off-by: Mauro Carvalho Chehab Looks good to me. I can take this through linux-kselftest or here is my Ack for it to go through the doc tree with the rest in this series. Acked-by: Shuah Khan thanks, -- Shuah > --- > Documentation/dev-tools/kselftest.rst | 32 ++++++++++++++++---------------- > 1 file changed, 16 insertions(+), 16 deletions(-) > > diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst > index b3861500c42d..ebd03d11d2c2 100644 > --- a/Documentation/dev-tools/kselftest.rst > +++ b/Documentation/dev-tools/kselftest.rst > @@ -19,15 +19,15 @@ Running the selftests (hotplug tests are run in limited mode) > > To build the tests:: > > - make -C tools/testing/selftests > + $ make -C tools/testing/selftests > > To run the tests:: > > - make -C tools/testing/selftests run_tests > + $ make -C tools/testing/selftests run_tests > > To build and run the tests with a single command, use:: > > - make kselftest > + $ make kselftest > > Note that some tests will require root privileges. > > @@ -40,11 +40,11 @@ single test to run, or a list of tests to run. > > To run only tests targeted for a single subsystem:: > > - make -C tools/testing/selftests TARGETS=ptrace run_tests > + $ make -C tools/testing/selftests TARGETS=ptrace run_tests > > You can specify multiple tests to build and run:: > > - make TARGETS="size timers" kselftest > + $ make TARGETS="size timers" kselftest > > See the top-level tools/testing/selftests/Makefile for the list of all > possible targets. > @@ -55,11 +55,11 @@ Running the full range hotplug selftests > > To build the hotplug tests:: > > - make -C tools/testing/selftests hotplug > + $ make -C tools/testing/selftests hotplug > > To run the hotplug tests:: > > - make -C tools/testing/selftests run_hotplug > + $ make -C tools/testing/selftests run_hotplug > > Note that some tests will require root privileges. > > @@ -73,13 +73,13 @@ location. > > To install selftests in default location:: > > - cd tools/testing/selftests > - ./kselftest_install.sh > + $ cd tools/testing/selftests > + $ ./kselftest_install.sh > > To install selftests in a user specified location:: > > - cd tools/testing/selftests > - ./kselftest_install.sh install_dir > + $ cd tools/testing/selftests > + $ ./kselftest_install.sh install_dir > > Running installed selftests > =========================== > @@ -88,12 +88,10 @@ 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. > +note some tests will require root privileges:: > > -:: > - > - cd kselftest > - ./run_kselftest.sh > + $ cd kselftest > + $ ./run_kselftest.sh > > Contributing new tests > ====================== > @@ -114,8 +112,10 @@ Contributing new tests (details) > > * Use TEST_GEN_XXX if such binaries or files are generated during > compiling. > + > TEST_PROGS, TEST_GEN_PROGS mean it is the excutable tested by > default. > + > TEST_PROGS_EXTENDED, TEST_GEN_PROGS_EXTENDED mean it is the > executable which is not tested by default. > TEST_FILES, TEST_GEN_FILES mean it is the file which is used by >