From patchwork Mon Oct 9 15:09:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcos Paulo de Souza X-Patchwork-Id: 150138 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp1936078vqo; Mon, 9 Oct 2023 08:10:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFeMGaXwsy9v+XhygfzPy6dMxxyeO+FxCRZu6UxpkQxLOWX55PNUl93ZRFOfr67kEB0oNo3 X-Received: by 2002:a05:6a21:35c6:b0:16c:b9b9:17de with SMTP id ba6-20020a056a2135c600b0016cb9b917demr5074696pzc.20.1696864250967; Mon, 09 Oct 2023 08:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696864250; cv=none; d=google.com; s=arc-20160816; b=JGzP6HCXhUI3QRhXbWbRQ96lWXTDtzUHL729sMvB2j8Swun03pnBIDi8WGzonnkLN3 GTr0EvC09/QDFTypAD6kOrKZ69Cpv9Eeb+9FFIY3czs++1ChGdhevXjUF0k+euJz6cD8 jO47Z5fe+ePDsUEinHsDidq2RxU3ThAP1GVAdsc5ATmJfP5r+kMRt45Yt4RHIiLLtN4u 1CK/A8KAG+nFFTLUQd3+d0JVkvOJqv0TCQNaEWam8te5BZXeII56vzATbJlqLkVf00B1 3nDV7wSqsj1DyP8YRwlOni7dHxcELmwhmxdQ8N8jdfWRwQkMamnz/ugAOjWf3k/oYVK/ j1Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ISQ9n4D5T3P8ooumknvc+YiFO0JDSQRXu8nxDrWSZQQ=; fh=BoLUByLBkFB1qPlS7yt5yNDflzsRB5TkgcT851vB8Gk=; b=MPDby5aJy1ZWND1DbSRAtIV97fCu6cIMYI4rfuAq3C+pabAB3mfQZ+KV81Lp+e3ISS WPEPk5qED9uOVtELVKp4Qnv+pWTFNLiukbbEl+yL0GEfzmY4Unr7UdJnYZ8UjdHyVpB7 2nWTRCHiaHRHb7qCe5VlOiPvuGhlNwqBQEwe5nqx+xjxBBoRJeOBQqttTHFssAO4eiQo Az5t0Trs46oEfO/5IMEA+6W/RH153r08nY4X5c609uEWuy1RrMjG8rRrbTPbWJHTfDCN 4CBJ8G4B/hEAct92rsb2Kg7liVBbkzcp7Qn6cVlvJW7L/LPO9dv2DCB2go/9vuBavEo/ AMzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ZnayWCvn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id cn11-20020a056a00340b00b0068c01fba736si7547746pfb.301.2023.10.09.08.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 08:10:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ZnayWCvn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 04BD280CCD16; Mon, 9 Oct 2023 08:10:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376380AbjJIPJ5 (ORCPT + 18 others); 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 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 09 Oct 2023 08:10:12 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779291129177310652 X-GMAIL-MSGID: 1779291129177310652 Currently the bpf selftests are skipped by default, so is someone would like to run the tests one would need to run: $ make TARGETS=bpf SKIP_TARGETS="" 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-tools/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:: - $ make TARGETS="bpf breakpoints size timers" SKIP_TARGETS=bpf kselftest + $ make TARGETS="breakpoints size timers" SKIP_TARGETS=size kselftest 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 times:: - $ ./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 For other features see the script usage output, seen with the `-h` option. @@ -210,7 +210,7 @@ option is supported, such as:: tests by using variables specified in `Running a subset of selftests`_ section:: - $ make -C tools/testing/selftests gen_tar TARGETS="bpf" FORMAT=.xz + $ make -C tools/testing/selftests gen_tar TARGETS="size" FORMAT=.xz .. _tar's auto-compress: https://www.gnu.org/software/tar/manual/html_node/gzip.html#auto_002dcompress