Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1611780rwb; Fri, 19 Aug 2022 06:39:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR5kI0N8rpuniDDRETt/RCPfFzJHhYHRxSKCRRgMj2DVDtBy6p380vTdQhHS/4ldAYj/e2xZ X-Received: by 2002:a17:907:7394:b0:73a:d077:9ba1 with SMTP id er20-20020a170907739400b0073ad0779ba1mr4728513ejc.697.1660916347910; Fri, 19 Aug 2022 06:39:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660916347; cv=none; d=google.com; s=arc-20160816; b=w7rjRys3lmh3+XChYdkqfOO4UKF74X4XWSMvOqxCBbMdAmrsHfGEiiRq58v/Rdm2wy +gMOgsM1WyGU1JdBR9V+cu1AgMw6YvVUSWwMOatxqTpWENRZgDIw98+qVstIhyILdYR/ 67jCXOxijMZe9Qyp1bW8bkRBN63WfNtk98v33GacKT8KGXZml8bjKzRDP5KiGBZk0hPS beaEJuIMIQoxnMfrJ9Hv2VMs6BbtOtgtW5tsmsuutZTAOnn3t9guuoZXPwYIRo/5WiAx IaoZDkEliKVos2jQP7lU6geQaz1FlJukw9nJWYOrWh+Dnk+SxnXEI2bQwBRj6wbKi6eb 6CVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=uKFrZ3vwlxdwh09/xsXJgvCvu9VTWbdfsRBA6e1vjpU=; b=wBWRTnrxdHciAgFJ22bQOwBk2OPQCeJbceG4DEaUkvyxt3ocge0CZbExtLUSh4CZyj tCaSSIuqS3ZBPuNnt5y96lOuAc0jAvAumS5pn0AD0o7rNoDpJtSg4sXhkti1+myas2KY dHc6POVh+1J2u9RJb2C9c4YKVFJ1P7AcgcBoZ86jmP3v7DfBKtVfoh/MhPR7RQ1rulzo H14uqMl6PHsLwzJFDrj4f1cx1l/1WS1K11E8Ly6Fawjvp4utAGZEO2qHZJUFFGNBPn/B 3u59AnGWCDxdll2UXnG1Q1IU5pu3ZaxDAuprxpChAyIg6Hd49QsbUjnhs0phoMRg6a32 r1/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=euNg5qGd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr21-20020a1709073f9500b00730d33c8fb3si3647610ejc.49.2022.08.19.06.38.41; Fri, 19 Aug 2022 06:39:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=euNg5qGd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349249AbiHSNKt (ORCPT + 99 others); Fri, 19 Aug 2022 09:10:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349227AbiHSNKs (ORCPT ); Fri, 19 Aug 2022 09:10:48 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BA1FC9EBE for ; Fri, 19 Aug 2022 06:10:39 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id q16so3908829ljp.7 for ; Fri, 19 Aug 2022 06:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=uKFrZ3vwlxdwh09/xsXJgvCvu9VTWbdfsRBA6e1vjpU=; b=euNg5qGd5JSbk0p62h3iLNXxpYDNpd3Pud46E21UOO4yFUwilUzbaOyfjUBFTbwM+8 5fhJCkXr/y7kvnQTReBHuIOBTkPiHKtCOu8Ek7b4GNDriiNeEA5gHh5xmCtV/5e58qHx /XrZMOsBMRKzmAoVoOAnPf+2SaE9TSUrd5vvbDZqVfoR5E04RHf4/lAqq/37RK0vlzvE 14t8H/5bSCUbL/lLCYzcx0dT5tV27tVABcQhp0OpmH8G4a8oMF1hfUwYra6YGgwXU9V9 ASKQ7FDbP41u9ICYJtNvDQl83179Fv64dq1Z20V7sSAxD+OkrQGXonQIuEDkHlBDr2Lm 1TWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=uKFrZ3vwlxdwh09/xsXJgvCvu9VTWbdfsRBA6e1vjpU=; b=bahNqKpZiOneNOZERMmDVV1ZrZeQTTHxZ/RQRuAvWOubUzppJN9I9yt+UOJ7ZpbxaA ygjcgk1ySWmWe4ZTL5sl7Ms/AkuATOW4OZzqXUoDqF6iK+I8Zdk0g2eu9KHS5kux63yw qK49gNX1Lu6VbHeDwp4mJYH9KGvBmQCExPU4E9clzpld86bwT2wq7drXGsZaMav4TT6e uE7KV23G8Ry01uYfOhDDREwr2vLiFsSaoGIGzgjPsM1jjLYMW+wz5R4pOVF/BVZMUMLW Jvj+Lf1E9+Y1sVa1W1+r2gesBySZnspKKelLBrqe2h57gP5aUy/g61klLW1gJkhK8otn k40g== X-Gm-Message-State: ACgBeo2/s79XOsPziZq21l/Cjt8LpWJvda2smaCabj/96WbWjcmPttS6 XDv24o5hbFroiFR5W5vDpL3YSlNvtlGQWmf9rrH1HPLv/UUHFFj/ X-Received: by 2002:a05:651c:1695:b0:261:b5d4:371a with SMTP id bd21-20020a05651c169500b00261b5d4371amr1758306ljb.154.1660914636944; Fri, 19 Aug 2022 06:10:36 -0700 (PDT) MIME-Version: 1.0 References: <20220819053234.241501-1-tales.aparecida@gmail.com> <20220819053234.241501-3-tales.aparecida@gmail.com> In-Reply-To: <20220819053234.241501-3-tales.aparecida@gmail.com> From: Sadiya Kazi Date: Fri, 19 Aug 2022 18:40:25 +0530 Message-ID: Subject: Re: [PATCH 2/8] Documentation: KUnit: avoid repeating "kunit.py run" in start.rst To: Tales Aparecida Cc: linux-kernel@vger.kernel.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, David Gow , corbet@lwn.net, brendan.higgins@linux.dev, Trevor Woerner , siqueirajordao@riseup.net, mwen@igalia.com, andrealmeid@riseup.net, mairacanal@riseup.net, Isabella Basso , magalilemes00@gmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks Tales, Please see my suggestions inline below. Regards, Sadiya Kazi On Fri, Aug 19, 2022 at 11:02 AM Tales Aparecida wrote: > > Combine two sections mentioning "kunit.py run" to streamline the > getting-started guide. > > Signed-off-by: Tales Aparecida > --- > Documentation/dev-tools/kunit/start.rst | 38 ++++++++++--------------- > 1 file changed, 15 insertions(+), 23 deletions(-) > > diff --git a/Documentation/dev-tools/kunit/start.rst b/Documentation/dev-tools/kunit/start.rst > index e730df1f468e..165d7964aa13 100644 > --- a/Documentation/dev-tools/kunit/start.rst > +++ b/Documentation/dev-tools/kunit/start.rst > @@ -19,7 +19,21 @@ can run kunit_tool: > > ./tools/testing/kunit/kunit.py run > > -For more information on this wrapper, see: > +If everything worked correctly, you should see the following: > + > +.. code-block:: > + > + Generating .config ... I also see this as "Configuring KUnit Kernel" when I run ./tools/testing/kunit/kunit.py. > + Building KUnit Kernel ... > + Starting KUnit Kernel ... > + > +The tests will pass or fail. > + > +.. note :: > + Because it is building a lot of sources for the first time, the > + ``Building KUnit kernel`` may take a while. > + > +For detailed information on this wrapper, see: > Documentation/dev-tools/kunit/run_wrapper.rst. > > Creating a ``.kunitconfig`` > @@ -74,28 +88,6 @@ you if you have not included dependencies for the options used. > tools like ``make menuconfig O=.kunit``. As long as its a superset of > ``.kunitconfig``, kunit.py won't overwrite your changes. > > -Running Tests (KUnit Wrapper) > ------------------------------ > -1. To make sure that everything is set up correctly, invoke the Python > - wrapper from your kernel repository: > - > -.. code-block:: bash > - > - ./tools/testing/kunit/kunit.py run > - > -If everything worked correctly, you should see the following: > - > -.. code-block:: > - > - Generating .config ... Same comment as above > - Building KUnit Kernel ... > - Starting KUnit Kernel ... > - > -The tests will pass or fail. > - > -.. note :: > - Because it is building a lot of sources for the first time, the > - ``Building KUnit kernel`` may take a while. Minor nit: Because it is building a lot of sources for the first time, the ``Building KUnit kernel`` step may take a while. > > Running Tests without the KUnit Wrapper > ======================================= > -- > 2.37.1 >