Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1789884rdb; Thu, 25 Jan 2024 06:19:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6OdTiSlKRRQV9JfezJ2Qh7xuC7NcOUKizr2qia68zlAaKLxnxdxXjM+AMuI2QvfPXpSHL X-Received: by 2002:a17:903:985:b0:1d7:4873:e78e with SMTP id mb5-20020a170903098500b001d74873e78emr1073455plb.74.1706192341980; Thu, 25 Jan 2024 06:19:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706192341; cv=pass; d=google.com; s=arc-20160816; b=cT69l+JV1YgwP7tDI8BLda6FJGmpkJN1mHH7GZ9l7nwaWGo0ern3CPtDRECMblQLbn sFRBRNkXGBQvEZiUjnAQJHTTqp/KChATx2PuEFjbSvM3CQ3pIuvkwbH5E85ZOAmYdenB LDmoW34cF1nYOslyACzl6aaP/0FmIhQ63gwXs94ePEpRfB4zWh03CsM5/90lg8FQtrDN iLaYOriFzFirp+OesSoeREkCeUbPXLsmFooJ6+xfFRu4i0TJ/fQ1hwqcIJzsfGr84mOZ yy5BJeT5OEXDrFrBVmUDGsGg1rETrU9dgi8wDKraoNCfaLar8uAXqT6N2COAOvlf2A0K Q6zQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=PEh3GU1Metcj/yUPbni7j/kfQByOJNwgZS6P2tiSUb0=; fh=hsH+2ctwxXqNSSGXTyjmuFxMt9/DaRR11R1iCOLNpW8=; b=PNTEXBFcuafaCqpaMncFWpnMaF4SISGvXUazTV8FDaeCU0eB5EQc9C4ODRZ22IUs2g rWCjYfOl0YuLqxsLbm70V5cf5IeKxG0szJvbzUrqnlPreWFadlqEflHSKwrZMMHVtL6t Ve3q2aY/UnyefG1F3rRLLxw2ljAJCiGkPQtM6rDhI+fhXfclnyar7hF/ULivjWBKP3Am DayP3RgTX0cGhTU6DleATMsFKJsmAMY52UzdiJZaMLVWqfNIEcHsAJtZmHH/2WEiWSFA ekqmwS+y6Ud3w5rZlVAa8fz0ys5ICSD6ZUmemWNcCvRRprCMD7/KHPM76+uvvdFUjqFR Y/4Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hNKyaXE+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38712-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u7-20020a17090341c700b001d75d88f9a0si6205382ple.466.2024.01.25.06.19.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 06:19:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38712-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hNKyaXE+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-38712-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38712-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A444928E88A for ; Thu, 25 Jan 2024 14:18:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62F9564A9F; Thu, 25 Jan 2024 14:18:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hNKyaXE+" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D590634F8; Thu, 25 Jan 2024 14:18:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706192280; cv=none; b=PfrESHDbAt5nXBlkfaw0tP9AiI+ttWB6Z6himZuj3CVTkPalwtAG1c5sGS0CeAS2xa3Q5asVeuoyRGWTBJCvWgLHoVrtIuBb1zFQb0s8EQU4Wy8TD1E3+L7mBbf95rgKTxZH5YnihFp6hBFbNItMm50LLmC+tiDt4Au9hl81PnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706192280; c=relaxed/simple; bh=icWiZwOM74Kh14wiFXqt9/kp2dLbWV7CDIOrBFY5Mlg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=B+CUgchs3p5857cRMhGH7RMQ5YD8pW7krInw+rVaPXwDzzZ8283NBVLDoDOktpldYFO8KqQXEbFZIcylCRIldQT4xaqky2odtAe1cr7l/vkrN2St1Glq2N/eNP7UjRFDGigS5UCyW+krS4cxfeW3n7elyvyRx/E8taM7I6ZDU0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hNKyaXE+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B06E9C433B2; Thu, 25 Jan 2024 14:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706192280; bh=icWiZwOM74Kh14wiFXqt9/kp2dLbWV7CDIOrBFY5Mlg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hNKyaXE+he/7ACg9ofxnearlpXJA12D+Mu2BaDw3ADC8q9AW21Zwd4SM01WvBeBro WqDWRbQILPr+gUDWScvimFpBlum8LcmvwCMfFWkP7Lj4iy5ktPm+l0R8r5Xtc3syqk WTmn4eN230sREfv3PcFV0bO21SWS95aKjryZRK8/RTxZdxfu4rGG+T2ay+VQTF/5Vm PNFiOWeWP1JTYzYTPTwPSavJ9ZrQM5lQPYDSC69+8UDOgC4ZRZceE8Noo1eZ6jGzaD QK90ocqx1v+rWP9vt7tsgaSbs8fINsIv/rwbWQw7jnbC+/Iay3EwluX/6u82kWLflu SWhEatGJP7aog== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Mykola Lysenko , bpf@vger.kernel.org, netdev@vger.kernel.org Cc: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH bpf-next] selftests/bpf: Include runner extras for install target In-Reply-To: <20240125122715.1443022-1-bjorn@kernel.org> References: <20240125122715.1443022-1-bjorn@kernel.org> Date: Thu, 25 Jan 2024 15:17:57 +0100 Message-ID: <87h6j14huy.fsf@all.your.base.are.belong.to.us> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bj=C3=B6rn T=C3=B6pel writes: > From: Bj=C3=B6rn T=C3=B6pel > > When using the "install" or targets depending on install, e.g. > "gen_tar", the "runner extras" weren't included for the BPF machine > flavors. > > Make sure the necessary helper scripts/tools are added to > corresponding BPF machine flavor. > > Signed-off-by: Bj=C3=B6rn T=C3=B6pel > --- > tools/testing/selftests/bpf/Makefile | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftes= ts/bpf/Makefile > index fd15017ed3b1..a5e63ef78bf1 100644 > --- a/tools/testing/selftests/bpf/Makefile > +++ b/tools/testing/selftests/bpf/Makefile > @@ -747,5 +747,15 @@ override define INSTALL_RULE > @for DIR in $(TEST_INST_SUBDIRS); do \ > mkdir -p $(INSTALL_PATH)/$$DIR; \ > rsync -a $(OUTPUT)/$$DIR/*.bpf.o $(INSTALL_PATH)/$$DIR;\ > + rsync -a --copy-unsafe-links \ > + $(OUTPUT)/$$DIR/bpf_testmod.ko \ > + $(OUTPUT)/$$DIR/bpftool \ > + $(OUTPUT)/$$DIR/ima_setup.sh \ > + $(OUTPUT)/$$DIR/liburandom_read.so \ > + $(OUTPUT)/$$DIR/sign-file \ > + $(OUTPUT)/$$DIR/uprobe_multi \ > + $(OUTPUT)/$$DIR/urandom_read \ > + $(OUTPUT)/$$DIR/verify_sig_setup.sh \ > + $(OUTPUT)/$$DIR/xdp_synproxy $(INSTALL_PATH)/$$DIR;\ Nevermind this patch. The btf_dump_test_case*.c files are missing. I'll spin a v2 (and also try to avoid the name duplication from TRUNNER_EXTRA_FILES). Bj=C3=B6rn