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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88700C433EF for ; Mon, 25 Oct 2021 06:36:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 62D5760EE3 for ; Mon, 25 Oct 2021 06:36:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230004AbhJYGjK (ORCPT ); Mon, 25 Oct 2021 02:39:10 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:54713 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbhJYGjJ (ORCPT ); Mon, 25 Oct 2021 02:39:09 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 344705806A7; Mon, 25 Oct 2021 02:36:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 25 Oct 2021 02:36:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=3jaAj+ gBSUpvJ7BuI4E8o6kxGEsZFrotiqAwq1+dtoQ=; b=GY03+DJHQ0KK/9zk6QGX4w NzGmVIJxoXYjoWhI3ryE+cuRIKjaFHvFMtNLzqQSmGFIenqXwJ1DA1p4E62VLN9O iTRhCaQBc3bRASnzP5b9m34CNcJMxl3ysF5VAY3e0YYhpDo1niRuPQaNTrJzF35q iB0Db2+PKD7UhT8yK8+0NFeC5Of+3juPppBQV+8On73S3bNJIQpfy1rMmZLpn4io uz3hx2feifYrcWQVUVCWPauikYWXdXflwpxWpsAFIfK0aC4IbPc04o//0nCeP+zp UoOIiEUjZC7aRFbW0pNA+sgIuYE6iWZ2mUulU70cTMT5BwHgmlxyB94dxYc+KMRA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefgedguddtjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepkfguohcu ufgthhhimhhmvghluceoihguohhstghhsehiughoshgthhdrohhrgheqnecuggftrfgrth htvghrnheptdffkeekfeduffevgeeujeffjefhtefgueeugfevtdeiheduueeukefhudeh leetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepih guohhstghhsehiughoshgthhdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Oct 2021 02:36:44 -0400 (EDT) Date: Mon, 25 Oct 2021 09:36:41 +0300 From: Ido Schimmel To: Vladimir Oltean Cc: netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Florian Fainelli , Andrew Lunn , Vivien Didelot , Vladimir Oltean , UNGLinuxDriver@microchip.com, DENG Qingfang , Kurt Kanzenbach , Hauke Mehrtens , Woojung Huh , Sean Wang , Landen Chao , Alexandre Belloni , George McCollister , John Crispin , Aleksander Jan Bajkowski , Egil Hjelmeland , Oleksij Rempel , Prasanna Vengateshan , Ansuel Smith , Alvin =?utf-8?Q?=C5=A0ipraga?= , Claudiu Manoil , Nikolay Aleksandrov , Ido Schimmel , Guillaume Nault , Po-Hsu Lin Subject: Re: [PATCH v5 net-next 09/10] selftests: lib: forwarding: allow tests to not require mz and jq Message-ID: References: <20211024171757.3753288-1-vladimir.oltean@nxp.com> <20211024171757.3753288-10-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211024171757.3753288-10-vladimir.oltean@nxp.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, Oct 24, 2021 at 08:17:56PM +0300, Vladimir Oltean wrote: > These programs are useful, but not all selftests require them. > > Additionally, on embedded boards without package management (things like > buildroot), installing mausezahn or jq is not always as trivial as > downloading a package from the web. > > So it is actually a bit annoying to require programs that are not used. > Introduce options that can be set by scripts to not enforce these > dependencies. For compatibility, default to "yes". > > Cc: Nikolay Aleksandrov > Cc: Ido Schimmel > Cc: Guillaume Nault > Cc: Po-Hsu Lin > Signed-off-by: Vladimir Oltean > Reviewed-by: Florian Fainelli Reviewed-by: Ido Schimmel