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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2E97ECAAD3 for ; Wed, 14 Sep 2022 18:47:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1938484B79; Wed, 14 Sep 2022 20:47:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="knNQLH5V"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7B64084B15; Wed, 14 Sep 2022 20:47:22 +0200 (CEST) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E0DD283C4B for ; Wed, 14 Sep 2022 20:47:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72e.google.com with SMTP id c19so9685665qkm.7 for ; Wed, 14 Sep 2022 11:47:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=sLIVB5Ko+Hf2G5TyYpW2p6YAd2OUU77sOs5GqVVYhTQ=; b=knNQLH5VZSOiVZTWss7RLT0hqulqeGKXF3oUU/pFW2T/Kteckks0QPQQK57lsaLEA2 mIwIteYQmqr00luyl+G7r2pjXmGXPqMMfLIwhfWuW28ofGQHRxBe0EenHQDeTUqHEBAe v0ZY+3tohemoPAee7QZJOwQBS8Px9UH1yR/Kc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=sLIVB5Ko+Hf2G5TyYpW2p6YAd2OUU77sOs5GqVVYhTQ=; b=jwDGq93q7T3pBzPXgZc4rv3SvWXeBSGHw/UnBOFp8q7KI9Y/cyysSa5RKqRO0VnGJ+ CSNnYuTO8v8DypAv+R5p/Bp+48+krGUbRs8OpbBGMKcGYtQ69EsSmMJ/tffobvsVHphR f52PhcdzD/dfLg85kKxQIuKO5JRumL0v7gjmAaOf0SOxmIDjtgn5/vIjc372k+oq8osa 1XLgDQdNknMTKDJZdGnp+Kr9zb2NuXZPk1UabeTxAme3Xp83Q5M+bwMMITmfetrdr1qq rkHLHUCiY9R3g49U9EM3imqaefgzMshqNtlayLYM1lfuieyQov/raSisjWyp3tJLowqe UXjA== X-Gm-Message-State: ACgBeo0G27E3veqx3W3wmR41GKgiD1/VbP4L0R7PfiDzcAcng5lbkoH6 JXknq6knDeLRMEQ/set29RZikQ== X-Google-Smtp-Source: AA6agR59Vb0we3lAGkVrKpq3Ut9ZPK+LWXPd3CBRbJ56YT1jFLwDWv67OJZWtiKC9YO+JoR6zOh7oA== X-Received: by 2002:a05:620a:1103:b0:6ce:a0f6:90da with SMTP id o3-20020a05620a110300b006cea0f690damr63347qkk.101.1663181238757; Wed, 14 Sep 2022 11:47:18 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-6011-212c-4988-e1af.res6.spectrum.com. [2603:6081:7b00:6400:6011:212c:4988:e1af]) by smtp.gmail.com with ESMTPSA id 66-20020a370345000000b006cbc00db595sm2289060qkd.23.2022.09.14.11.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 11:47:17 -0700 (PDT) Date: Wed, 14 Sep 2022 14:47:15 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Luca Ceresoli , Bin Meng , Roger Pau Monne , Andy Shevchenko , Masahiro Yamada Subject: Re: [PATCH 1/4] Makefile: Add a Python-based CONFIG checker Message-ID: <20220914184715.GT6993@bill-the-cat> References: <20220829075657.1.Ide4bcd82e518c9ba59b01de9bb83d33a39041ef3@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="n1iI6MeELQa9IOaF" Content-Disposition: inline In-Reply-To: <20220829075657.1.Ide4bcd82e518c9ba59b01de9bb83d33a39041ef3@changeid> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --n1iI6MeELQa9IOaF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 29, 2022 at 07:57:04AM -0600, Simon Glass wrote: > The existing shell script is a bit ugly. It was picked up by > Chromium OS and then rewritten in Python, adding unit tests. Bring this > new version into U-Boot. >=20 > Signed-off-by: Simon Glass > --- >=20 > scripts/kconfig_check.py | 338 ++++++++++++++++++++++++++++++++++ > scripts/test_kconfig_check.py | 185 +++++++++++++++++++ > 2 files changed, 523 insertions(+) > create mode 100755 scripts/kconfig_check.py > create mode 100755 scripts/test_kconfig_check.py All told, this ends up being +400 or so lines to replace a shell script with Python. I'm not sure that's a win overall. --=20 Tom --n1iI6MeELQa9IOaF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmMiIbAACgkQFHw5/5Y0 tyx/TgwAn6C9yZrExalHnYbbwmLwA5b/hyrnjvc5qRZnEbv9szNCVPwuxJ2zf9C+ M3ktagsrr5uvLM9mgSpgB1hoKCg9699a9WXUwKNdbenjgUMIXW3uLNma73dMhkH+ 3ouKPxphkhxSlbfMdlG/0VUYpxnc3R949J7DU09xaqP1+7ikunbNemw/woj0NJTk vIkZ6HREKJsYRrD0y25aFkY2r0Y1TrhnvOuSXmwsNyxPxd0GPJS5y/WXOB/ueK2w VU3PVEKDRnIM6EZr41ToqGC8JI7iUc8ZbC3rNn57KahyDsvEjOTPUqcKdgwnmpmN T8ce7zoOIrLafLicMXlhurF301AXFgIzVxs0fMGjfpNnJyDcD7x9q1sUfq78hm0p NAUW96s6H+J3KQzI8qZej0OPdSLDh+YLKkDUeSApGiWPRlGM0xkk38M4mWBvG814 XRzBrHk+BCSFLlvMeSbT0DGTQrN6RClPIZn7SSbRu9CIfrS/C1dL38ACFlR+6ZgI QCY9dfSE =0iBb -----END PGP SIGNATURE----- --n1iI6MeELQa9IOaF--