From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36ED7C433E0 for ; Mon, 1 Feb 2021 00:51:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DBE2764E09 for ; Mon, 1 Feb 2021 00:51:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbhBAAvI (ORCPT ); Sun, 31 Jan 2021 19:51:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:50562 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbhBAAvF (ORCPT ); Sun, 31 Jan 2021 19:51:05 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id DA2DB64E09; Mon, 1 Feb 2021 00:50:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612140625; bh=n9WOVNWvNJFOXO4zxKxrK9hQlxtfjXq32Ff1qqZtjEU=; h=From:To:Cc:Subject:Date:From; b=t5FV4VkO4wCxwImcAaqbvrSFboHyIeG1DW49tlOp/t8NgsmbwMGOVrBsFwEGaC6mW wj4HdtTl6xnCCYCCh5xJ48HM1USA+Rs0NGAkwzQLRJDO9GWApoN+5o8aeKECejKb+F 4494LILnW+Vrtl417zKH9sQo7lVM/byhz/atzfgMLBv+3dhPspdmp/NLV6kJWeVzmq K47J3gO1WkSoOv9TcTKHwrkBrMDXVQ8hBtJJ/H4jR/ixKtnnCyvo9shpFz+gW3YBtD 7XFXFwZTozHVNjgIDPIbTEWF9iOxC4sc4fVkh81PVJX7tXJ5FPkKRWBuIUQnxL95Bw Mg6VZZJ4SvjjA== From: KP Singh To: bpf@vger.kernel.org Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Florent Revest , Brendan Jackman Subject: [PATCH bpf-next v3 0/2] BPF selftest helper script Date: Mon, 1 Feb 2021 00:50:16 +0000 Message-Id: <20210201005018.25808-1-kpsingh@kernel.org> X-Mailer: git-send-email 2.30.0.365.g02bc693789-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org # v2 -> v3 - Fixes to silence verbose commands - Fixed output buffering without being teed out - Fixed the clobbered error code of the script - Other fixes suggested by Andrii # v1 -> v2 - The script now compiles the kernel by default, and the -k option implies "keep the kernel" - Pointer to the script in the docs. - Some minor simplifications. Allow developers and contributors to understand if their changes would end up breaking the BPF CI and avoid the back and forth required for fixing the test cases in the CI environment. The series also adds a pointer in tools/testing/selftests/bpf/README.rst. KP Singh (2): bpf: Helper script for running BPF presubmit tests bpf/selftests: Add a short note about run_in_vm.sh in README.rst tools/testing/selftests/bpf/README.rst | 24 ++ tools/testing/selftests/bpf/run_in_vm.sh | 356 +++++++++++++++++++++++ 2 files changed, 380 insertions(+) create mode 100755 tools/testing/selftests/bpf/run_in_vm.sh -- 2.30.0.365.g02bc693789-goog