Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2631048rwa; Mon, 22 Aug 2022 10:45:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR5LY16tZcuoFNrZ4dI6KQxeMn4gwXgqoSOZujaIUYz1clAD1hF5qocd+5WdBXcyj3wOfmlm X-Received: by 2002:a05:6a00:ad1:b0:530:2cb7:84de with SMTP id c17-20020a056a000ad100b005302cb784demr22067890pfl.3.1661190331994; Mon, 22 Aug 2022 10:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661190331; cv=none; d=google.com; s=arc-20160816; b=ZebCJpzD+ehuz9OkuO3bSAsf1VivzJlgki//Y8wxPIshWlVHEZaA3fGXW408WtPoJY UiesbM2sIxIy4CFbtnWD0XEoiHwoEg5+BvuJfcNnvv8DekZZxCHhhsSYz0BtRbFEyzqg wkNb/tO58j44fNLvOGOTrZ10KTOg/B3lua4f5OJ54HEtCJwU6LJs15EfqTb/WviOQjGF NRGlCEzoNSsryz07URVXQiqOxIJZK2ggFLjNbga6YKIZWewOe0wlvQM62eJupamcYPbJ W/HjFex/RqIQhyAx1z75hXRL6ZNjTX73LkTEPcHlR7BxmBXnJhPl9cwMzXh7S0zdoVE8 QmFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=l2rPagMbz8Ll9r+EAEfWnyCiHgWknUSiBzGwF24uJk0=; b=N6/C5K4Yd2MRFFOHHL17eB+/aWxSx7kSDeBtIjvFrJ7d0pGxZFj4QIf+xauWMKxVtm zCbNV+MorePUmDCAtIoOp9Inz5jronDy4wb54RSW07V0Wv8uW/tZ8494LZuDmi6UcpIu cl+kjmAc3+Lj4rKcAxT/0+g0aaBF8zB/rxGX4m5ZINHmK3ev+8W2/0I+K05n1OxyHsf1 iS9Ou3QOvOP4nbFtLcFAnwap3CIxDgO56JBPDTJbg92+JFIC7F+uNM4JrKGrTvA6okpn Niiat8RuBrQyUw4bf2s7iI/ANS7uWmCON8JXguqOlgEyqrEhWfe8KROQoOD15mnZvfKO OGYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=rkm3YncQ; 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 g67-20020a636b46000000b0042ad28ace95si1567854pgc.832.2022.08.22.10.45.20; Mon, 22 Aug 2022 10:45:31 -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=rkm3YncQ; 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 S237259AbiHVRgp (ORCPT + 99 others); Mon, 22 Aug 2022 13:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235780AbiHVRgn (ORCPT ); Mon, 22 Aug 2022 13:36:43 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E0FF40BC2 for ; Mon, 22 Aug 2022 10:36:42 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id d8so3904415lfq.0 for ; Mon, 22 Aug 2022 10:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc; bh=l2rPagMbz8Ll9r+EAEfWnyCiHgWknUSiBzGwF24uJk0=; b=rkm3YncQHWPEopQMVxS6CGvBPR0tQWz1GP1xmn9k+eDL0IppgfyOTC7LFzIQUcrjt/ rpkYHV5mlBbtH82wFj59Ah71pgPkb0kwl6QDEKROEG4HZ9yeE/nJzIRRevz9AmvWtPnM mBZQSq1WAcMDV9CGrIhL3G7w2LRi0y4FRw7Hb9tybs5tzWqIyWaGglRttLrnLGPmN5ED 3Y83W5xGK9vrmBrufO1ZCvdFQXNntYKSB3JdypcQ53BYYhjvvtzDkYdlNUf1v9PXsZZJ 3FkafOGnCDzGQzK6lzeyXu9sZReH2MPRNYto/edeoww6G3xNm+MNaBN2Cd44A8fnmfsI T0SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc; bh=l2rPagMbz8Ll9r+EAEfWnyCiHgWknUSiBzGwF24uJk0=; b=RB20+QmwM9xyaFiatSa4VJhyyD87JNmm7wdYZkbxm6K0TBEx2fin/0rUzr0nDZwWoD 14NpOXlQierObNLgxP0cQEKSDCJqE2FQpyPm8WeATarPwocZPrXSjdt5QHFzovxUPaBp 8doPVb7DFi6S0ZvGD3t05YH07u704Qdodrw1g6yYDOL5FKodtoM9klF4rfFQor338bw5 LsExNegnFOLN9mzCUXAwSlDthwf1CCrg1INZujztTuIDAm+tygeDplVPi4a9rjQL4DJV On5JgvQo4xBdW/poqENwihsxdK/5FLfC6V3Cx2lXJG77JkpUkmfEnwmnpn9eijGuAADU JXow== X-Gm-Message-State: ACgBeo22Eh3q2aFe3U/UGd1EXZKhGhcnCM+QqTMlWyO/wtXsOclapGxP bg73Jc1cKYhEmcrRGa6ItYhKGj8ekO5XwFXCSGIMkmte+wGlZA== X-Received: by 2002:a05:6512:3090:b0:48b:6e1:1b55 with SMTP id z16-20020a056512309000b0048b06e11b55mr8155377lfd.535.1661189800517; Mon, 22 Aug 2022 10:36:40 -0700 (PDT) MIME-Version: 1.0 References: <20220822022646.98581-1-tales.aparecida@gmail.com> <20220822022646.98581-3-tales.aparecida@gmail.com> In-Reply-To: <20220822022646.98581-3-tales.aparecida@gmail.com> From: Sadiya Kazi Date: Mon, 22 Aug 2022 23:06:29 +0530 Message-ID: Subject: Re: [PATCH v2 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" Content-Transfer-Encoding: quoted-printable 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=ham 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 On Mon, Aug 22, 2022 at 8:00 AM Tales Aparecida wrote: > > Combine two sections mentioning "kunit.py run" to streamline the > getting-started guide. Update "kunit.py run" expected output in > the guide and run_wrapper. > > Signed-off-by: Tales Aparecida > > --- > Notes: > Update the expected output and the note that follows it (Ma=C3=ADra C= anal and > Sadiya Kazi). The output was updated on the commit: 45ba7a893ad8 > ("kunit: kunit_tool: Separate out config/build/exec/parse") > Add word "step" to note and fix the case of "kernel". > --- Thanks, Tales. This looks good to me. Reviewed-by: Sadiya Kazi Cheers, Sadiya > Documentation/dev-tools/kunit/run_wrapper.rst | 2 +- > Documentation/dev-tools/kunit/start.rst | 38 ++++++++----------- > 2 files changed, 16 insertions(+), 24 deletions(-) > > diff --git a/Documentation/dev-tools/kunit/run_wrapper.rst b/Documentatio= n/dev-tools/kunit/run_wrapper.rst > index 518cf87ea732..6b33caf6c8ab 100644 > --- a/Documentation/dev-tools/kunit/run_wrapper.rst > +++ b/Documentation/dev-tools/kunit/run_wrapper.rst > @@ -22,7 +22,7 @@ We should see the following: > > .. code-block:: > > - Generating .config... > + Configuring KUnit Kernel ... > Building KUnit kernel... > Starting KUnit kernel... > > diff --git a/Documentation/dev-tools/kunit/start.rst b/Documentation/dev-= tools/kunit/start.rst > index e730df1f468e..2e31350a85e1 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:: > + > + Configuring KUnit Kernel ... > + 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`` step 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 opti= ons used. > tools like ``make menuconfig O=3D.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 ... > - 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. > > Running Tests without the KUnit Wrapper > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > -- > 2.37.2 >