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 A1A7CC19F28 for ; Sun, 31 Jul 2022 02:57:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9E8FA8415E; Sun, 31 Jul 2022 04:57:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="coZC/1WO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A2212841DB; Sun, 31 Jul 2022 04:57:20 +0200 (CEST) Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) (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 C9D1C8412C for ; Sun, 31 Jul 2022 04:57:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-10d845dcf92so9970790fac.12 for ; Sat, 30 Jul 2022 19:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=bCuqOF4eww9vdxm0e76QSvQthwlzbRY9jeJmoaYo+Hc=; b=coZC/1WOC+A5I1CpolNV0j507jMw4DqsnjJSPqBZsoi8gqxdm31mbMzgqjhVXzEAin 4hzB9wdCSr+xggK13jJzxHhWvyM4SwnchaQeQko1gS4bIj6R3QbHMkWrMg8lNeAiph4U i0sq2J0WeVRq8WB1lU3Mxf7NNZruEwNOZMa+8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=bCuqOF4eww9vdxm0e76QSvQthwlzbRY9jeJmoaYo+Hc=; b=rEsZYMQ1peZ81wJIOuKccqlZZYSXcCnijnZ7RKuIMaIAJta71pmvY396gBpb1NAfVc 0QxodGkJNCKc72ux7JicnZSgde/Oyh0GMfuGvjrrzZAdMtNeXlRK2/e5WoBS3V2lvyQo 0TELjwhzfBvVyyXQIJjREdd2PJ3iglHn/PeBIATTkc5R9XJtQ1RZLFCgSbz8iZ1sZ4S7 5GNHOkF/kMNq00d+AMJBMAHC/4x/2TQjCidzIdfZopB5VkFbjzW7wZ2MQ7SVqf6FKKeU fHM3BQnLIi/g3tfE1pFFNWWTZ2gdfhBI7mTWJUz1dYUL7Z3TdV3JKGESoXNUDcmMIFRO npYQ== X-Gm-Message-State: ACgBeo3XbncJSpevd+CUBL5gjBeSETwGtVsJkymAqCipN2Iqg08b3mqx gSV7ncLWUxZPL5+NZnvwntYTskY5BRRKKA== X-Google-Smtp-Source: AA6agR7AZHTs3jJtFWLaNn1VRdzKI/venHy7HQAANfqOpHNjgpdJeaaWgCZBMlrK95Ljo9ZlRyMVag== X-Received: by 2002:a05:6870:d60d:b0:10e:cf02:4df1 with SMTP id a13-20020a056870d60d00b0010ecf024df1mr440710oaq.298.1659236236130; Sat, 30 Jul 2022 19:57:16 -0700 (PDT) Received: from sjg1.lan (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id 185-20020a4a00c2000000b0043610215abasm2061952ooh.16.2022.07.30.19.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jul 2022 19:57:15 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Alper Nebi Yasak , Heinrich Schuchardt , Jan Kiszka , Jerry Van Baren Subject: [PATCH 0/7] fdt: Fix up tests and build warnings on newer distros Date: Sat, 30 Jul 2022 20:57:04 -0600 Message-Id: <20220731025711.871999-1-sjg@chromium.org> X-Mailer: git-send-email 2.37.1.455.g008518b4e5-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 At present the code coverage for test_fdt is not working. This series fixes that and takes the opportunity to fix the pylint warnings in that file. Some newer Linux distributions are producing warnings about using distutils, so this series moves things over to setuptools. Simon Glass (7): dtoc: Tidy up fdt_tests RunTestCoverage() args dtoc: Tidy up fdt_tests RunTests() dtoc: Fix fdt test coverage dtoc: Move main program into its own function test_fdt: Convert to use argparse dtoc: Correct remaining pylint problems in test_fdt fdt: Move to setuptools scripts/dtc/README | 106 +++++++++++ scripts/dtc/pylibfdt/Makefile | 5 +- scripts/dtc/pylibfdt/setup.py | 60 ++++++- scripts/pylint.base | 2 +- tools/dtoc/test_fdt.py | 326 +++++++++++++++++++--------------- 5 files changed, 345 insertions(+), 154 deletions(-) create mode 100644 scripts/dtc/README -- 2.37.1.455.g008518b4e5-goog