From nobody Sat Apr 11 09:22:02 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B0F1C28B2C for ; Sat, 13 Aug 2022 04:21:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237087AbiHMEVO (ORCPT ); Sat, 13 Aug 2022 00:21:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236313AbiHMEVJ (ORCPT ); Sat, 13 Aug 2022 00:21:09 -0400 Received: from mail-vs1-xe32.google.com (mail-vs1-xe32.google.com [IPv6:2607:f8b0:4864:20::e32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3492EDE8E; Fri, 12 Aug 2022 21:21:08 -0700 (PDT) Received: by mail-vs1-xe32.google.com with SMTP id k2so2605257vsk.8; Fri, 12 Aug 2022 21:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=uZlu9FImMQOCgngEdro2RkJDczNeSanNWoFHqqt2XDU=; b=jZ1sLF8/1oRBpTJo3Vm1Ga3WCOjT89MvhsuOFvuOER+q+PQNR7TxWabCwllZqPqGqI dbnTqdHDc177HL7yr2YHe1ncUu6W3J5GOz9qQvbqH9Pnp4DowtW+fUPopQB/p6/G9DfR tSHUXUzpvWIkD0F6IyeIn2YXFeAlcjcBxbsdyp9Sp5iPQrFd5+JNVwIjqNBGPlbGYCdP 5JR5bwx7MPGr9LvuCF8W1S9wbG1Ox/VJt5W1Q975Jxv04ACfuQ+gyZazlRtmhiakrwkm pwjoihXxxpjQSngF1aAGiWA5dxvIMvO6Uds+P092MClzaFJOLtW4YkFWkL1hcaFwQrjz lDuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=uZlu9FImMQOCgngEdro2RkJDczNeSanNWoFHqqt2XDU=; b=wGq7yJ7UwAIPOJOlDvFq9dGkoqwcHpv9+s6oqiza/pscFXC2bDM5f+9m5MmJ+8bxrR oM7L3Tfqvbovz37rHUDHWlLhX7TkSPpZtEOO6gaQmx/p0SopF+e9AhtbcV/OZb3EmjbH eemRa9Ca+v2eUtQ5K7vXaNcjgWYjWNLiX8i9Rbq8dr7qoiTLNkjl6q9FBD1C68PqYgn3 Kqie529zAhMQPP0wKjg8VBM9m+ih0HAuNlsaxRA7dQ6n2RWsw/wqtsh6Armv33dd6IfN sWuj7dG4Mi7UJFhhIEhWRlj7Y4/Ng840xPGUxuGEMhSYgM4A1SgRYvPNIun0gdhy76/6 q/mw== X-Gm-Message-State: ACgBeo1gugQQJ4DxpvIpIKWN/jRQQ8uovBkTMCm3YredOMxuRyLiK+Sv LtmX8UZQ3dUnySVbW0FB85g= X-Google-Smtp-Source: AA6agR5jK5Z6FNvJ/2e1MOy/G7GhPGUJbxm53Wc3/khryYD3SeSmrw7Lb/8lqL/d7Q8BQyQuqPn7ZA== X-Received: by 2002:a67:1a45:0:b0:356:2063:d978 with SMTP id a66-20020a671a45000000b003562063d978mr3300877vsa.41.1660364467291; Fri, 12 Aug 2022 21:21:07 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:4c2:8202::1003]) by smtp.gmail.com with ESMTPSA id cz10-20020a056102290a00b0038712af0dbesm2434646vsb.22.2022.08.12.21.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 21:21:06 -0700 (PDT) From: Tales Aparecida To: Sadiya Kazi , brendanhiggins@google.com, corbet@lwn.net Cc: Trevor Woerner , siqueirajordao@riseup.net, mwen@igalia.com, andrealmeid@riseup.net, mairacanal@riseup.net, Isabella Basso , magalilemes00@gmail.com, tales.aparecida@gmail.com, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] Documentation: kunit: fix trivial typo Date: Sat, 13 Aug 2022 01:20:52 -0300 Message-Id: <20220813042055.136832-2-tales.aparecida@gmail.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220813042055.136832-1-tales.aparecida@gmail.com> References: <20220813042055.136832-1-tales.aparecida@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Missing closing block-quote Signed-off-by: Tales Aparecida Reviewed-by: David Gow Reviewed-by: Sadiya Kazi --- Documentation/dev-tools/kunit/run_wrapper.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/dev-tools/kunit/run_wrapper.rst b/Documentation/= dev-tools/kunit/run_wrapper.rst index cce203138fb7..db1e867820e7 100644 --- a/Documentation/dev-tools/kunit/run_wrapper.rst +++ b/Documentation/dev-tools/kunit/run_wrapper.rst @@ -30,7 +30,7 @@ We may want to use the following options: =20 .. code-block:: =20 - ./tools/testing/kunit/kunit.py run --timeout=3D30 --jobs=3D`nproc --all + ./tools/testing/kunit/kunit.py run --timeout=3D30 --jobs=3D`nproc --all` =20 - ``--timeout`` sets a maximum amount of time for tests to run. - ``--jobs`` sets the number of threads to build the kernel. --=20 2.37.1 From nobody Sat Apr 11 09:22:02 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 932B7C2BB41 for ; Sat, 13 Aug 2022 04:21:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229966AbiHMEVW (ORCPT ); Sat, 13 Aug 2022 00:21:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236978AbiHMEVO (ORCPT ); Sat, 13 Aug 2022 00:21:14 -0400 Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com [IPv6:2607:f8b0:4864:20::e29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 345A413F7C; Fri, 12 Aug 2022 21:21:12 -0700 (PDT) Received: by mail-vs1-xe29.google.com with SMTP id v128so2592057vsb.10; Fri, 12 Aug 2022 21:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=l5QhBCqddlI8zFFrJ6dcczGUo8Zl7BOnJTXXcuz0uf8=; b=WJiQS057etU5y+OyF038aIuWP9cX9WQOTZwBr9UJi3KtmszMNw5IexdnCKZWXQdTti Qg/ldDtMIeY6BNxefmyVJrASeMdoVfBVNl9HVQwKnDGciNgVYbsRzbqBnv6feowrVUB1 GHEEk3ZmqTLbXLuEAnQp6D0DzswbcN2rzXVXVagz8cEg5wjVdlJcsMiBUTNQLxwT7m4m sYahmHM5hA9/HrulVNRtNJGGxo6WsJU+ulNWTTTXsRTadfsQCTNWrCFRqSwIZSlLXtNf xwrUrtItE7SZKEBCuMyk3iaxZb6vBe9AczgARTyZIhAbSFVbZRpuCPupy0O7RdYphu7S hj4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=l5QhBCqddlI8zFFrJ6dcczGUo8Zl7BOnJTXXcuz0uf8=; b=JSTS926yl5dfTb6HJT/eqZlMwppJ7FDFU37gDCsfByUI7jVa5dVWhLFVR0BRvryD39 fzW2Q3QwUBgvx7fVUaldFQeA8e6RIm6G9we5j+WVl9tUERaR6UiUuzVhdjy70ff1Oj13 aTT36/Nael4HFfv2Wg4/z/emNLiNoDsQUMR+MXZEKoqUN4mVbK0jH8JVxwlwdY7z7umh M5BJ0P43GRM8le8hV8nKQcY6jqaBPvu2d7IC6CXv8X14BYlbt5BykIATr9o5WWTPjafA kEC9AtMyVp3Plo1v3UiCcVFPfcNiyCUjvvULvVR0TCD3NTx4JC4z0+TEEqS2Idi6TSrQ ccxg== X-Gm-Message-State: ACgBeo0xRVw7VpQE1WgUvBfLzZPJwcyB+PO/xEdEyb88xuuV2wbCVB0a s4XDF5VKRc1ISsspHIQ1uYg= X-Google-Smtp-Source: AA6agR5bnQsjAGqCfJAxx71BLEzy65LTcK/4akPQkEdVFyalH+weqqqM2Z1OESZ1T7LAi7OCqwn3fw== X-Received: by 2002:a05:6102:512b:b0:387:cc8f:a0fa with SMTP id bm43-20020a056102512b00b00387cc8fa0famr3061872vsb.3.1660364470775; Fri, 12 Aug 2022 21:21:10 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:4c2:8202::1003]) by smtp.gmail.com with ESMTPSA id cz10-20020a056102290a00b0038712af0dbesm2434646vsb.22.2022.08.12.21.21.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 21:21:10 -0700 (PDT) From: Tales Aparecida To: Sadiya Kazi , brendanhiggins@google.com, corbet@lwn.net Cc: Trevor Woerner , siqueirajordao@riseup.net, mwen@igalia.com, andrealmeid@riseup.net, mairacanal@riseup.net, Isabella Basso , magalilemes00@gmail.com, tales.aparecida@gmail.com, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] Documentation: Kunit: Fix inconsistent titles Date: Sat, 13 Aug 2022 01:20:53 -0300 Message-Id: <20220813042055.136832-3-tales.aparecida@gmail.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220813042055.136832-1-tales.aparecida@gmail.com> References: <20220813042055.136832-1-tales.aparecida@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Use the same wording when citing and describing Kunit parts. Signed-off-by: Tales Aparecida Reviewed-by: David Gow Reviewed-by: Sadiya Kazi --- Documentation/dev-tools/kunit/architecture.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/dev-tools/kunit/architecture.rst b/Documentation= /dev-tools/kunit/architecture.rst index cf9e6e3eeae4..8efe792bdcb9 100644 --- a/Documentation/dev-tools/kunit/architecture.rst +++ b/Documentation/dev-tools/kunit/architecture.rst @@ -6,8 +6,8 @@ KUnit Architecture =20 The KUnit architecture can be divided into two parts: =20 -- Kernel testing library -- kunit_tool (Command line test harness) +- `In-Kernel Testing Framework`_ +- `kunit_tool (Command Line Test Harness)`_ =20 In-Kernel Testing Framework =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 --=20 2.37.1 From nobody Sat Apr 11 09:22:02 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A567BC28B2C for ; Sat, 13 Aug 2022 04:21:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237281AbiHMEV1 (ORCPT ); Sat, 13 Aug 2022 00:21:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236313AbiHMEVS (ORCPT ); Sat, 13 Aug 2022 00:21:18 -0400 Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB4D914012; Fri, 12 Aug 2022 21:21:15 -0700 (PDT) Received: by mail-vs1-xe2d.google.com with SMTP id s129so2593559vsb.11; Fri, 12 Aug 2022 21:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=gNs9sey591WPnXbNPiS1OcGYuvQlyk8T1glh4KMvcRM=; b=dNHnkRdXtFsuE2N/jkVbPN5WpeUIbdQ4mrP2miILjOgcFqac+pQ84PPzJHdkP6HvgZ H4tw54xJsL7wreN7LdeLVtri1m584bZMz23SEQ8TboJzOPmhYVP7rThIAld4ugqNiaF7 2cu6ghx4EtR/3CnSnlZpoaJeeAPJXfqAlMHsq1hJHxkMmovFsBr5y5W57jvgX9NVZPb1 cqydruhAvo3738kkLEqZV8JcrzTDIinDdNxfycwjwGrgH33ijQpZd5lIXHHKa2QWCCd9 BitWc0yhonIt3PAf7d19PIw0ke9x7iC/PZrhWCx7KlGxJMPcBhCXM3nn4cD1pfxagIjZ mnEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=gNs9sey591WPnXbNPiS1OcGYuvQlyk8T1glh4KMvcRM=; b=dEzj7EonvEGVCCmaOMpLaUqdQPiXz7X/Zth5qGSqSzkAfZLhXD2hooKuKb0BK+N6ee RDDjvBpP7bBdSxi60ug9sECZkG/swBu72lBu8JWZThlzHl1rJdJKNH63nFQlnk67OteE GAyfq130d+ON1JS0GCnkH3FoKkoshvSzaSf12b2wSZB0+6WuQ4GHFs8nilqr1PBzYFFW GcJZSefkz5FoSUuxLn3LnKkV17av1KqyZOh1ST9BUfJlc+x0BpKmkofaqQJKVaT09FeO 9Mi23a0fFZDz6G256V0Yjyw6WJtP+J681pp6sCyj0B08YGW/v/VdoLttNgS6jAMKrdtr OMsw== X-Gm-Message-State: ACgBeo0nUhp0Ftby7VPYAAwusfScoC4CR+vnVKfGAuEKFFQdXPbC66Bu GmVryW/DIEaQvtJurnkBIsVLgbiUSQnhHQ== X-Google-Smtp-Source: AA6agR7IsNjHqelxS6j3S91zn+3jnq5utB+yK8vXp0LUgaFtFzXde4mcTj9QgZs89AvfKxsePmfFtQ== X-Received: by 2002:a05:6102:5094:b0:388:6903:5f09 with SMTP id bl20-20020a056102509400b0038869035f09mr3084636vsb.46.1660364474383; Fri, 12 Aug 2022 21:21:14 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:4c2:8202::1003]) by smtp.gmail.com with ESMTPSA id cz10-20020a056102290a00b0038712af0dbesm2434646vsb.22.2022.08.12.21.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 21:21:13 -0700 (PDT) From: Tales Aparecida To: Sadiya Kazi , brendanhiggins@google.com, corbet@lwn.net Cc: Trevor Woerner , siqueirajordao@riseup.net, mwen@igalia.com, andrealmeid@riseup.net, mairacanal@riseup.net, Isabella Basso , magalilemes00@gmail.com, tales.aparecida@gmail.com, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] Documentation: KUnit: Fix non-uml anchor Date: Sat, 13 Aug 2022 01:20:54 -0300 Message-Id: <20220813042055.136832-4-tales.aparecida@gmail.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220813042055.136832-1-tales.aparecida@gmail.com> References: <20220813042055.136832-1-tales.aparecida@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The section was rewritten but its anchor got left behind. Fix the anchor and add some references to running on QEMU. Signed-off-by: Tales Aparecida Reviewed-by: David Gow --- Documentation/dev-tools/kunit/faq.rst | 6 +++--- Documentation/dev-tools/kunit/run_wrapper.rst | 2 ++ Documentation/dev-tools/kunit/usage.rst | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Documentation/dev-tools/kunit/faq.rst b/Documentation/dev-tool= s/kunit/faq.rst index 172e239791a8..f1b4cef68ced 100644 --- a/Documentation/dev-tools/kunit/faq.rst +++ b/Documentation/dev-tools/kunit/faq.rst @@ -31,7 +31,8 @@ For the most part, the KUnit core framework (what we use = to write the tests) can compile to any architecture. It compiles like just another part of the kernel and runs when the kernel boots, or when built as a module, when the module is loaded. However, there is infrastructure, like the KUnit Wrapper -(``tools/testing/kunit/kunit.py``) that does not support other architectur= es. +(``tools/testing/kunit/kunit.py``) that might not support some architectur= es +(see :ref:`kunit-on-qemu`). =20 In short, yes, you can run KUnit on other architectures, but it might requ= ire more work than using KUnit on UML. @@ -95,8 +96,7 @@ things to try. seeing. When tests are built-in, they will execute when the kernel boot= s, and modules will automatically execute associated tests when loaded. Test r= esults can be collected from ``/sys/kernel/debug/kunit//results``,= and - can be parsed with ``kunit.py parse``. For more details, see "KUnit on - non-UML architectures" in Documentation/dev-tools/kunit/usage.rst. + can be parsed with ``kunit.py parse``. For more details, see :ref:`kuni= t-on-qemu`. =20 If none of the above tricks help, you are always welcome to email any issu= es to kunit-dev@googlegroups.com. diff --git a/Documentation/dev-tools/kunit/run_wrapper.rst b/Documentation/= dev-tools/kunit/run_wrapper.rst index db1e867820e7..a1070def284f 100644 --- a/Documentation/dev-tools/kunit/run_wrapper.rst +++ b/Documentation/dev-tools/kunit/run_wrapper.rst @@ -165,6 +165,8 @@ example: if we only want to run KUnit resource tests, u= se: =20 This uses the standard glob format with wildcard characters. =20 +.. _kunit-on-qemu: + Run Tests on qemu =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 diff --git a/Documentation/dev-tools/kunit/usage.rst b/Documentation/dev-to= ols/kunit/usage.rst index 44158eecb51e..2737863ef365 100644 --- a/Documentation/dev-tools/kunit/usage.rst +++ b/Documentation/dev-tools/kunit/usage.rst @@ -165,6 +165,8 @@ built as a module). =20 For more information, see Documentation/dev-tools/kunit/api/test.rst. =20 +.. _kunit-on-non-uml: + Writing Tests For Other Architectures ------------------------------------- =20 @@ -544,8 +546,6 @@ By reusing the same ``cases`` array from above, we can = write the test as a {} }; =20 -.. _kunit-on-non-uml: - Exiting Early on Failed Expectations ------------------------------------ =20 --=20 2.37.1 From nobody Sat Apr 11 09:22:02 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92DEAC28B2C for ; Sat, 13 Aug 2022 04:21:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238136AbiHMEVf (ORCPT ); Sat, 13 Aug 2022 00:21:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237356AbiHMEVX (ORCPT ); Sat, 13 Aug 2022 00:21:23 -0400 Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE91313F9B; Fri, 12 Aug 2022 21:21:18 -0700 (PDT) Received: by mail-vs1-xe31.google.com with SMTP id j2so2624477vsp.1; Fri, 12 Aug 2022 21:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=RI0CJJBq8KUXBhWRmxHVc6zRcB3gwN2DmCRZwDgGjR0=; b=UrZNi4i5m0mQYV+2gurqXQKVcPQEK1TcTrdzFxacXRVk9GEw4r9uDbILBfRCHMjAJc NVvE6jJNcXRDtCztR3Rja2U8RlH/DmYOHTZcLxyOBlO5LttAuLGv71QxP1c88U+ZKf3w 1lPnThdYb2d6YXfrrZFcTHjOMDAYIvbwz7Q175l5sewUHGDCPoGtQj79VvWnWpzdiBp+ jxFWW6oDg/XkOt3YnvhwiK9g322n5oZY57xwT+0DHB58/2mGCDiRmVCMJHX0ZfMMBSbB y8NFsYhhdbiPFZvmnLaUq03IdhBNR8uyoAPmKCzemmz3DvwD+ZN7GNXXGc7xOw5ovF4r Z7uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=RI0CJJBq8KUXBhWRmxHVc6zRcB3gwN2DmCRZwDgGjR0=; b=wXuALHBtMCK/TuO+962rKT4maCFHOIuWiWgbmAnQ6FW7bzdYyoCJB5KZoxqTz2t4su nrwAORSlQTdIiDhw4WHcslX4u1tBA4pzM0KVKUdUGSNKCFwtS5PLbzcuEEQDdOJHeGzC xwnQ+GgZWquf5fixJg8GODoSHd1gY7u16REOfDJECjlG/C/arnVYTAX/YKKB17I10Kaq WKG0FF9uJSlm+IVMHRFUKZqEotz/hHqYYqS8BHvmkTJQgW3YSFqqB7phLBSDyoLsVVXt qJ6jZnkr54pLOSxWjSqEzZxxQbJlroF3EB3Tl3tq5DvjLbVZ9aVCd4ZeMA63B5mbVOp+ GZuw== X-Gm-Message-State: ACgBeo22vOTCr81qn+ddmqHBIBRsLAguXca/Mf6lRFWEcNV65ni8K/7J HI1ws14GUGzLT4HFkFf4HkA= X-Google-Smtp-Source: AA6agR7DgSzX2jpz7lbIPIm2l7xQ1ilyJ/8kXZLtNoGiBDnsrO/TuMZ8C8Q8JWKkxk1V7IfhlIX2uA== X-Received: by 2002:a67:b84f:0:b0:388:cbb3:25af with SMTP id o15-20020a67b84f000000b00388cbb325afmr3029624vsh.52.1660364477953; Fri, 12 Aug 2022 21:21:17 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:4c2:8202::1003]) by smtp.gmail.com with ESMTPSA id cz10-20020a056102290a00b0038712af0dbesm2434646vsb.22.2022.08.12.21.21.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 21:21:17 -0700 (PDT) From: Tales Aparecida To: Sadiya Kazi , brendanhiggins@google.com, corbet@lwn.net Cc: Trevor Woerner , siqueirajordao@riseup.net, mwen@igalia.com, andrealmeid@riseup.net, mairacanal@riseup.net, Isabella Basso , magalilemes00@gmail.com, tales.aparecida@gmail.com, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] Documentation: Kunit: Add ref for other kinds of tests Date: Sat, 13 Aug 2022 01:20:55 -0300 Message-Id: <20220813042055.136832-5-tales.aparecida@gmail.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220813042055.136832-1-tales.aparecida@gmail.com> References: <20220813042055.136832-1-tales.aparecida@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add an organic link to the "other kinds of tests" in the index page Signed-off-by: Tales Aparecida Reviewed-by: David Gow --- Documentation/dev-tools/kunit/faq.rst | 2 ++ Documentation/dev-tools/kunit/index.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Documentation/dev-tools/kunit/faq.rst b/Documentation/dev-tool= s/kunit/faq.rst index f1b4cef68ced..fae426f2634a 100644 --- a/Documentation/dev-tools/kunit/faq.rst +++ b/Documentation/dev-tools/kunit/faq.rst @@ -39,6 +39,8 @@ more work than using KUnit on UML. =20 For more information, see :ref:`kunit-on-non-uml`. =20 +.. _kinds-of-tests: + What is the difference between a unit test and other kinds of tests? =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=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 Most existing tests for the Linux kernel would be categorized as an integr= ation diff --git a/Documentation/dev-tools/kunit/index.rst b/Documentation/dev-to= ols/kunit/index.rst index 595205348d2d..bc91ad7b8961 100644 --- a/Documentation/dev-tools/kunit/index.rst +++ b/Documentation/dev-tools/kunit/index.rst @@ -95,6 +95,8 @@ Unit Testing Advantages - Improves code quality. - Encourages writing testable code. =20 +Read also :ref:`kinds-of-tests`. + How do I use it? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 --=20 2.37.1