From nobody Fri Jan 2 18:56:28 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 45CA3E95A95 for ; Mon, 9 Oct 2023 15:09:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376385AbjJIPJ5 (ORCPT ); Mon, 9 Oct 2023 11:09:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346469AbjJIPJz (ORCPT ); Mon, 9 Oct 2023 11:09:55 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5541BB4; Mon, 9 Oct 2023 08:09:54 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B3D6221883; Mon, 9 Oct 2023 15:09:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1696864192; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ISQ9n4D5T3P8ooumknvc+YiFO0JDSQRXu8nxDrWSZQQ=; b=ZnayWCvnMF9L+nOSQ/u0lRORq0pD9+ifKV4GqLv9wH7Z5tc1ily0R1cd6V7h0m0JWlkPKP MglvcvQ4TdGnmeKxfB3ROOGJbNlYwmKuqqyUxzGOWPmlSHlhdVEv3VfQYmdL6Py2OiS9kk ehffi4TuE0QPZBYHC9UV/EOCEo4SFr0= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3B4BE13905; Mon, 9 Oct 2023 15:09:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id t/q1AMAXJGW6JgAAMHmgww (envelope-from ); Mon, 09 Oct 2023 15:09:52 +0000 From: Marcos Paulo de Souza To: shuah@kernel.org, corbet@lwn.net, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Cc: Marcos Paulo de Souza Subject: [PATCH] Documentation: kselftests: Remove references to bpf tests Date: Mon, 9 Oct 2023 12:09:29 -0300 Message-ID: <20231009150929.25953-1-mpdesouza@suse.com> X-Mailer: git-send-email 2.42.0 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" Currently the bpf selftests are skipped by default, so is someone would like to run the tests one would need to run: $ make TARGETS=3Dbpf SKIP_TARGETS=3D"" kselftest To overwrite the SKIP_TARGETS that defines bpf by default. Also, following the BPF instructions[1], to run the bpf selftests one would need to enter in the tools/testing/selftests/bpf/ directory, and then run make, which is not the standard way to run selftests per it's documentation. For the reasons above stop mentioning bpf in the kselftests as examples of how to run a test suite. [1]: Documentation/bpf/bpf_devel_QA.rst Signed-off-by: Marcos Paulo de Souza --- Documentation/dev-tools/kselftest.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tool= s/kselftest.rst index deede972f254..ab376b316c36 100644 --- a/Documentation/dev-tools/kselftest.rst +++ b/Documentation/dev-tools/kselftest.rst @@ -112,7 +112,7 @@ You can specify multiple tests to skip:: You can also specify a restricted list of tests to run together with a dedicated skiplist:: =20 - $ make TARGETS=3D"bpf breakpoints size timers" SKIP_TARGETS=3Dbpf kself= test + $ make TARGETS=3D"breakpoints size timers" SKIP_TARGETS=3Dsize kselftest =20 See the top-level tools/testing/selftests/Makefile for the list of all possible targets. @@ -165,7 +165,7 @@ To see the list of available tests, the `-l` option can= be used:: The `-c` option can be used to run all the tests from a test collection, or the `-t` option for specific single tests. Either can be used multiple tim= es:: =20 - $ ./run_kselftest.sh -c bpf -c seccomp -t timers:posix_timers -t timer:= nanosleep + $ ./run_kselftest.sh -c size -c seccomp -t timers:posix_timers -t timer= :nanosleep =20 For other features see the script usage output, seen with the `-h` option. =20 @@ -210,7 +210,7 @@ option is supported, such as:: tests by using variables specified in `Running a subset of selftests`_ section:: =20 - $ make -C tools/testing/selftests gen_tar TARGETS=3D"bpf" FORMAT=3D.xz + $ make -C tools/testing/selftests gen_tar TARGETS=3D"size" FORMAT=3D.xz =20 .. _tar's auto-compress: https://www.gnu.org/software/tar/manual/html_node= /gzip.html#auto_002dcompress =20 --=20 2.42.0