Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2247170rwa; Mon, 22 Aug 2022 04:54:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ywBJldZ8PhmPH1c1Rh8n+KC25KVSHgaQ4Mm/cnlUgXXHIQl+/uf6tMivlyKwKa7PJS88j X-Received: by 2002:a17:907:3e28:b0:731:7ee0:add5 with SMTP id hp40-20020a1709073e2800b007317ee0add5mr12602335ejc.215.1661169286440; Mon, 22 Aug 2022 04:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661169286; cv=none; d=google.com; s=arc-20160816; b=BCaX8CMSy9Smh4WClPVMrw7wgVEIhE2vePoP4Y1gR9t9wg+Gligx7TV7zJeMPyCr5f /EIZISkP+sk/nS9E0c+rWw9vwt4jvT7JCrMJA2UYXxpj01p8XZSLH0g86x1zSageVGmh YzcMpyNQAcFTwdhfJQr13nkD33JWnwsBxjaBGyf0MHhj9F02Pfe0he2l0Gnmxanp+gnt E8+StlBPBlGkbGgB10iyXbpntH+rfkjH0ixlCqidjaibDesUFU4nkbsh9kMcarjS4JRB THwpuWbsvCVFgGhfTOsY6bCfojtCZkqgOn5cLJLE00Zf1cuUuw3WI92NfGdWJMmocs6A IefQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:mime-version:date :message-id:dkim-signature; bh=fI2+s+sTxPEVYMtuIJhI4mH60jY5sU+WkVvsTc9o7dw=; b=OlM9ZwT2lsMh2EpE1DxKiXTfFncJBYyDjr6nWX4Lr/mkVotPrW6z9/8tKR6iCXJHy7 ef0w+SaMvVSmveL2UDBCbFxJtf9J2UOIQsKOxtVbi0RhuzGmDB/55amRBUhuFf8HEMuk DGtEfmLlWlrsmeN/8qujsh2+mLQAekgUNOz/y8vP8gWhEBqGyIXEC8nihej0tnAftPns zkehX1X7biASaHTCdADVsy9dM5sDQAQLYUMubNBi4o4Vfnl31RRrwnOK/AYRaYWecxKr l2IFnWoT6Mj0m2lSBZigTl8hMjsw9bmL8d9ZQMIGgZpyZqYZDsk2WPKKFvAaeYCfcgaM GNGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=JBIv38Yn; 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=NONE sp=NONE dis=NONE) header.from=riseup.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp6-20020a1709071b0600b007304f4611e6si8389564ejc.719.2022.08.22.04.54.20; Mon, 22 Aug 2022 04:54:46 -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=@riseup.net header.s=squak header.b=JBIv38Yn; 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=NONE sp=NONE dis=NONE) header.from=riseup.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234656AbiHVLdB (ORCPT + 99 others); Mon, 22 Aug 2022 07:33:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234669AbiHVLct (ORCPT ); Mon, 22 Aug 2022 07:32:49 -0400 Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69036356DC; Mon, 22 Aug 2022 04:32:46 -0700 (PDT) Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4MB9Fn6Bx6zDrVf; Mon, 22 Aug 2022 11:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1661167966; bh=OUMmq98oeFiEp0mE5Azg1/+y4ajDaWAKrWs37juM6GQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JBIv38YnsNub8oyAdKIUfVsmk2i07BNR/NLoePIHfxk8Di+mFkpYV8GTtIgbC12b7 OSfgYRhRDijabcLILZXwD9Eil3tzUdkkTR7WntaisTYrIvvfDaoG09polA8ht1VDeb yatxb3BPdp6tPjmQLHKsg3rrJ+WCp5BM6oZSjMjY= X-Riseup-User-ID: CA0E823BECDD724A52C6470718F8117D69D41CA1458B0CBBFEC8D433579B3E1C Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4MB9Fj0pvpz5vNB; Mon, 22 Aug 2022 11:32:40 +0000 (UTC) Message-ID: Date: Mon, 22 Aug 2022 08:32:33 -0300 MIME-Version: 1.0 Subject: Re: [PATCH v2 2/8] Documentation: KUnit: avoid repeating "kunit.py run" in start.rst Content-Language: en-US To: Tales Aparecida , Sadiya Kazi Cc: linux-kernel@vger.kernel.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, davidgow@google.com, corbet@lwn.net, brendan.higgins@linux.dev, Trevor Woerner , siqueirajordao@riseup.net, mwen@igalia.com, andrealmeid@riseup.net, Isabella Basso , magalilemes00@gmail.com References: <20220822022646.98581-1-tales.aparecida@gmail.com> <20220822022646.98581-3-tales.aparecida@gmail.com> From: =?UTF-8?Q?Ma=c3=adra_Canal?= In-Reply-To: <20220822022646.98581-3-tales.aparecida@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 8/21/22 23:26, 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 Thanks for the quick re-spin! Reviewed-by: Maíra Canal Best Regards, - Maíra Canal > > --- > Notes: > Update the expected output and the note that follows it (Maíra Canal 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". > --- > 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/Documentation/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 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 ... > - 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 > =======================================