Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA384606A335 for ; Fri, 4 Dec 2026 18:13:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=DOItaqH0; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=XUqv0ccx Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E3FA4610B9; Fri, 4 Dec 2026 18:13:49 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id zR6yY4OMkSs6; Fri, 4 Dec 2026 18:13:49 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org C939E610AF Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796408029; b=bR5udfzCONwPC1122UfEtUXddHdHHSvT2l+FH/yoxZ/9bCxWy6FqPrbgw4WnIBlU8ZsV 7PyhKVwYkjfT9xFOjJuJv7UEqTa6tLUNFO1wJzlyLcai7Sml7YaD/Ocgub8PzruwtmNRJ tY2hDcEnLHW0hyTORu+LmVAVwE9BOBb6aDyMF2hOmVG/WLq0E+SnVE9JwCkd+RICSGwZc 00bsNWhOHsf2A2fZsVL5RkLQSGYyff0Gu2+4zYA/WYd1zww4/JVye83A/mbscDOtzskk8 WnZfkuZX6vnNAyl66V8KtJbpYjCzDQvzvJHzqHUPegdmw5tUBVzCf+OOddHAPYopTpw== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796408029; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:Received:From:Subject:Date:Message-Id:MIME-Version: Content-Type:Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To: Cc:X-Mailer:X-BeenThere:X-Mailman-Version:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Errors-To; bh=0OvsnOlbd0gOjpuYp1mOg7nR5HkTDFbXMMqOf5qdMzA=; b=Byqt7YJeJ8FG9y3bPXZPYvCSrvOWeWaS/3tQDyju2ZNwGwdVSWD4TTESkj9HthAp1E5B dfXF2jskkdSTbEtSLwh+uYnshwNEBxMqg767uOHefqS7d4cIpeXlbAvqDJ4jmJHP2uULf ijOB32iQV84jpDMHr71LKYZWORYQnPJr3q1FUmQAditWtzK5ONnlupSRnN0mPmx9Mkjdj xjPgL7NhJUaWIQ3Fs9NMapiOSQYzgCD+lpkdxk3I3o6vIKLowhXALrez2muly3SXQDsg4 ytueY4jrGwp3XlkCkT6Q2rpjbQIRWJDQ9lfFQ/R6Ef0Zi5tmwco6bm56xPx5oiDY/6Q== ARC-Authentication-Results: i=1; smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796408028; bh=0OvsnOlbd0gOjpuYp1mOg7nR5HkTDFbXMMqOf5qdMzA=; h=From:Subject:Date:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=DOItaqH0/jpopfS6DBs4PSBqEME/aq3cT13CNpeooGYnm0YGKN4WbXALv9aR+ZzFX hdCJ6F2AhIVz8Ep3Q3G1RqJsswhCD+dRU1QxCZFEOWZ/pGopQZVzuNkrMBnweWygcc iKAkt0wkD74N1d/rWbQ5PyO15swvdblBykkUecU9op64JKqS2wzZ0AEDXf5tUu8mgk SVYDX9e4pD24yg1XEGX7sIQ+ow2M2uXbT8cQVX7U5QYn+balwAmWOSYrFPNE/OEhix NpsJdb2KbHSL7I+Z8YORHPCLBepALauvaHS/Yff3esU4DQ2CMCmcKX/nXoJ34NwSew aJ45Vbw0XdJ0g== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id C939E610AF; Fri, 4 Dec 2026 18:13:48 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id B0BA99BA for ; Fri, 4 Dec 2026 18:13:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 9711540DED for ; Fri, 4 Dec 2026 18:13:47 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id jSTT6kQNES-g for ; Fri, 4 Dec 2026 18:13:46 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org 0E97540D03 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::42d" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::42d; helo=mail-wr1-x42d.google.com; envelope-from=andrew.goodbody@linaro.org; receiver= Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=XUqv0ccx Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by smtp4.osuosl.org (Postfix) with ESMTPS id 0E97540D03 for ; Fri, 4 Dec 2026 18:13:45 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-48dee593f18so1271679f8f.3 for ; Fri, 04 Dec 2026 10:13:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796408023; x=1797012823; darn=lists.u-boot-project.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=0OvsnOlbd0gOjpuYp1mOg7nR5HkTDFbXMMqOf5qdMzA=; b=XUqv0ccxP8tNgSlwqGmMZdZROhdDISEbf9OHly6dbJhtWeh+1eEwG/oNfdp9cqg9Kb 9A4BHR0DivdpLRKwpb+UI/z26kTuQoBPhcZt+y7Q1l5nb1MzGtsvJG9llfT9pdD1dQrR ID00mupMU0UV9DmoAbymVoA7D7sfTyx9C9myAN1LWtOCT5264Tw/rifP/OdaSr/bvTkY lKBcZZ8uWuhH6rKRbhGxguQx/cXO0bON9GyKDsvc4CpzOj6Jszlc6STd3B7LJBE/4D3J 4p4caoQRjY0jW2zPb02hprS2jgOaQEKry+4nw/6erTF3VzyDNz4cEq9dtUwBuA2f0bZO ma5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796408023; x=1797012823; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=0OvsnOlbd0gOjpuYp1mOg7nR5HkTDFbXMMqOf5qdMzA=; b=mHWEZm8YyxB/tBgt/WBkNC0+6nGXUJh/QOVkjdLvh4HAYStdXsU7Lh70De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p X-Received: by 2002:a05:6000:2c13:b0:4a6:dfe3:fd93 with SMTP id ffacd0b85a97d-4d1ebd96098mr5967703f8f.40.1796408023207; Fri, 04 Dec 2026 10:13:43 -0800 (PST) Received: from artemis3.elfringham ([2a0a:ef40:ee3:3401:7071:3a81:cc99:9c2c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d174452809sm6915361f8f.53.2026.12.04.10.13.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 10:13:41 -0800 (PST) From: Andrew Goodbody Subject: [PATCH v4 00/14] Fix 'make check' errors Date: Fri, 04 Dec 2026 18:13:35 +0000 Message-Id: <20261204-qcheck_fix-v4-0-3cdf2e164297@linaro.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAM8CE2sC/2XN0Q6CIBiG4VtpHEcDRJCOuo/WmuCPUk0KzNWc9 x7qia7Dj/3Py4AiBAcRHXcDCtC76HybBt/vkGnKtgbsqrQRI0xQwhR+mQbM/WrdB5dWSahIVah cowSeAdLzHDtflh3f+gammwrTReNi58N3/q2n090STuV1uKeYYEttzqXhpczo6eHaMviDDzWay j1bWUo2liVLjRRAtCgsU382W1uxsVmyWhgrQQnFud7YcRx/XctYyy8BAAA= X-Change-ID: 20261029-qcheck_fix-af97ed0d895b To: u-boot@lists.u-boot-project.org, Kory Maincent , Linus Walleij , Ilias Apalodimas Cc: Andrew Goodbody , Tom Rini , Anshul Dalal , Alexey Charkov , Heinrich Schuchardt , Mattijs Korpershoek , Carlo Caione , Yao Zi , Michal Simek , Quentin Schulz , Marek Vasut , Simon Glass X-Mailer: b4 0.16.0 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Various tests can be run using 'make check', 'make qcheck' and 'make tcheck'. These have become broken and need fixing to be useful again. Running 'make qcheck' fails on the binman test to check the version numbers of the tools are found as expected. Update the code for the tools that have been updated and no longer have their version numbers found by the code. There are also failures in buildman. First add code to understand 'gcc -E' as an alternative to cpp. Second add the code to accept an empty CROSS_COMPILE variable in the environment when testing that CROSS_COMPILE is not set by the toolchain selection. dtoc was not achieving 100% code coverage so add a new test to rectify that. Disable event_dump tests that are broken on newer versions of binutils. Build mkeficapsule in the tree that is used for testing the tools. 'make tcheck' was not achieving 100% code coverage and needs to know the location of the built tools to resolve. 'make check' tests of the file system had errors due to ext4 file systems being created with an orphaned file but were marked clean. Signed-off-by: Andrew Goodbody --- Changes in v4: - Drop patch removing setting of DTC environment variable - Add error checking to use of fsck.ext4 - Minor updates from review comments - Link to v3: https://patch.msgid.link/20261116-qcheck_fix-v3-0-b6cf7e96944b@linaro.org Changes in v3: - Split fix of test_basic tests into two. - Just remove the empty arg from lzma_alone version check instead of messing with run_cmd_result() and move this commit to become 2/15 - Add explanation and error log to commit message of 9/15 - Update commit to accept more preprocessor possibilities. 13/15 - Update the commit message for 11/15 and remove the change of PATH that fails to address this same issue. - In 4/15 update the buildman test to cope if DTC is set externally. - In 8/15 minor update to test file - Add 5/15 and 6/15 to insulate binman and buildman tests from a DTC variable being set externally - Picked up tags and trimmed Cc list - Link to v2: https://patch.msgid.link/20261110-qcheck_fix-v2-0-1c76e0b68f29@linaro.org Changes in v2: - Added commit 7/12 to address intermittent failure for binman to get version string from lzma_alone. - Added commit 8/12 to address a test failure due to the build tree not containing the built version of mkeficapsule and using the system version instead. - Dropped a space from the beginning of a line in a new file in 5/12 to quiet checkpatch warning and remove most of the content as not needed for test as suggested by Simon Glass. - Fix 'make tcheck' binman code coverage test by passing in location of tools built from this tree in 9/12. - Fix typo in tools/Kconfig for TOOLS_MKEFICAPSULE config item in 10/12 - Cope with CPP="gcc -E" in buildman in 11/12 - Ensure fsck can be run and use it to force clean ext4 file systems on creation to remove orphaned file. 12/12 - Picked up some rb tags from Simon Glass - Link to v1: https://patch.msgid.link/20261102-qcheck_fix-v1-0-f1f547c4a731@linaro.org To: u-boot@lists.u-boot-project.org To: Kory Maincent To: Linus Walleij To: Ilias Apalodimas Cc: Tom Rini Cc: Andrew Goodbody Cc: Anshul Dalal Cc: Alexey Charkov Cc: Heinrich Schuchardt Cc: Mattijs Korpershoek Cc: Carlo Caione Cc: Yao Zi Cc: Michal Simek Cc: Quentin Schulz Cc: Marek Vasut --- Andrew Goodbody (14): binman: btool: lz4: Update version regex binman: bintool: Do not add empty argument binman: btool: lzma_alone: Update version function buildman: Use mock environment to ignore DTC variable binman: Use mock environment to ignore DTC variable buildman: Cope with empty CROSS_COMPILE in tests dtoc: test: Fix coverage by adding test test: Disable running event_dump test for make check test: Build mkeficapsule in tree used by tests test: Pass location of built tools to binman code coverage test tools: Fix typo in name of command mkeficapsule buildman: Cope with CPP="gcc -E" test: Fix test_basic file system tests test: Ensure ext4 file system is truly clean on creation configs/sandbox_spl_defconfig | 1 + test/py/tests/fs_helper.py | 6 ++++++ test/py/tests/test_fs/fstest_helpers.py | 12 +++++++++--- test/run | 9 +++++---- tools/Kconfig | 2 +- tools/binman/btool/lz4.py | 2 +- tools/binman/btool/lzma_alone.py | 2 +- tools/binman/ftest.py | 16 ++++++++++++---- tools/buildman/boards.py | 4 ++-- tools/buildman/func_test.py | 11 +++++++++-- tools/buildman/test.py | 12 ++++++------ tools/dtoc/test/dtoc_test_include.dts | 13 +++++++++++++ tools/dtoc/test/newinclude/dtoc_test_include_file.dtsi | 7 +++++++ tools/dtoc/test_fdt.py | 7 +++++++ 14 files changed, 80 insertions(+), 24 deletions(-) --- base-commit: d1caced3a435607435cb7969e34499051a4ac1e6 change-id: 20261029-qcheck_fix-af97ed0d895b Best regards, -- Andrew Goodbody