From patchwork Mon Dec 22 23:18:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1057 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445539; bh=VK3SZYAaFkwHsL6n701j+KXNG5h9yDOqNA6vTa8Gn88=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ZW3rxiyPJ+a866vtPqPaXr4A9ZfizWvNcnUFYOfqlYl7imP1jori/zvU7s4cjr+Tc JLcb6gwaavzrP5g2ABmZ5a9PsIsrz/AqP0+w2Cujy2a4mRXR2c+kFGgnLxMWFqnQ5u 4H4edzPyiRpmepFq/yk5gO+qnIaehlPoWJFsAaa6TEJLEjjlFwfslzanbd+GslSS4g h5n6uuveV8aot+NJK6pZiqBaa/5k4+qYJo/+R3mewenweUWO1V2nSzCeQlYzGTlKZ5 otmYaJ4UECII7eHOALGIWkobe3rhboo9lhiyIuUbOUszDCn7MOHSB/5sn7vFch76Pa GHIqitbiNL41w== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 43BF964D46 for ; Mon, 22 Dec 2025 16:18:59 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id oGJZZGQJusGi for ; Mon, 22 Dec 2025 16:18:59 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445539; bh=VK3SZYAaFkwHsL6n701j+KXNG5h9yDOqNA6vTa8Gn88=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ZW3rxiyPJ+a866vtPqPaXr4A9ZfizWvNcnUFYOfqlYl7imP1jori/zvU7s4cjr+Tc JLcb6gwaavzrP5g2ABmZ5a9PsIsrz/AqP0+w2Cujy2a4mRXR2c+kFGgnLxMWFqnQ5u 4H4edzPyiRpmepFq/yk5gO+qnIaehlPoWJFsAaa6TEJLEjjlFwfslzanbd+GslSS4g h5n6uuveV8aot+NJK6pZiqBaa/5k4+qYJo/+R3mewenweUWO1V2nSzCeQlYzGTlKZ5 otmYaJ4UECII7eHOALGIWkobe3rhboo9lhiyIuUbOUszDCn7MOHSB/5sn7vFch76Pa GHIqitbiNL41w== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 32A5F64D86 for ; Mon, 22 Dec 2025 16:18:59 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445537; bh=forSWJah/FBBUvXyr9o6ZiihNSr1IXiMZV37bU4BC+E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rUHO4B7vpTpLliY5Q9SSUh1MclN7vaCcFass5Sderms0UXSMHcHH89JpEdw9ko3KZ EjG+eKCIQjATjjlSGpYcyij1fg5bpeI4YpCOLNq9fRaw2D5FoQh4fn6n0swwf/fzf9 xmfBU+Vk2EufB9CCI+bw9LUd8tewZZlKyq2cOBqC3WbnovHfCACcK6D/MU6HKiRjt6 KonVdqdZB3qI/gWhS9rS1MFj5ee8tjyMPSiEjnb5KwrGrFHlrUm2n5Qo4QzrfFUxzy dke+Ri+rq2QEp56Wr/mzizy0tbAeIXBHjMAjQN+Ws3gbqHay1oE2DQ3oMWgQMXEUOq z1W8ftzeDSnEg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 77A9664D46; Mon, 22 Dec 2025 16:18:57 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id OZ1dmeJdmg-S; Mon, 22 Dec 2025 16:18:57 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445533; bh=oyuOo5CqXEM/H1wWMFwDH/h29arlzS4NiPJ3jPpvNbk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CfhK7JEYKSmHq5BLZOy3L+DMuTvX/p3u0oe1YgCyfSiJkZt5dlHyELue29OZMLm8/ TIZOQ9kapN5e+ykuPbw0/c5ddSx7XbbSBfBjddpMwXyaEzFqYxOm0PN5md+xFSqLFP C2J0ZShCpg7IbroXyQyC5/vzjgCILqqjR1XtoRjfBLmvTqflRWH5uiqY7qwW2+1TI8 D9kS/kugDARXiN2lt7PS381nLemOI0T9hjgadz2MS6jNN2zWjbH9vXDgm0NwOsMi71 8s1276zPvuDPiLkGOkAU0fDimtLCYx7GM+p+gWGACwz7vaEuqUFte2onBZlSCYh0mJ co3yp34BJ6kvg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 04D7364CD1; Mon, 22 Dec 2025 16:18:52 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Mon, 22 Dec 2025 16:18:34 -0700 Message-ID: <20251222231838.2298178-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251222231838.2298178-1-sjg@u-boot.org> References: <20251222231838.2298178-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: NV76QYPYFYRQFYJ6UITFZLRHH4X7UREF X-Message-ID-Hash: NV76QYPYFYRQFYJ6UITFZLRHH4X7UREF X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 1/3] buildman: Fix coverage test configuration List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Exclude tools/qconfig.py from coverage since it's a separate tool with its own tests. Add allow_failures for core buildman modules that don't have 100% test coverage yet (builder.py, builderthread.py, cfgutil.py, control.py, toolchain.py). This fixes the --coverage test returning error code 1. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- tools/buildman/main.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/buildman/main.py b/tools/buildman/main.py index 3c9820b262a..22be946b37d 100755 --- a/tools/buildman/main.py +++ b/tools/buildman/main.py @@ -63,8 +63,13 @@ def run_test_coverage(): 'tools/buildman/buildman', None, ['tools/patman/*.py', 'tools/u_boot_pylib/*', '*test_fdt.py', 'tools/buildman/kconfiglib.py', 'tools/buildman/*test*.py', - 'tools/buildman/main.py'], - '/tmp/b', single_thread='-T1') + 'tools/buildman/main.py', 'tools/qconfig.py'], + '/tmp/b', single_thread='-T1', + allow_failures=['tools/buildman/builder.py', + 'tools/buildman/builderthread.py', + 'tools/buildman/cfgutil.py', + 'tools/buildman/control.py', + 'tools/buildman/toolchain.py']) def run_buildman():