From patchwork Mon Dec 22 23:18:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1059 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=1766445548; bh=nTelht1UzoLNE8hBvz39n10dspsezPltgBTcsvNCvCQ=; 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=Vbf04JTW/pU0suBFFmLGgPU+hi0yFxBBVukyFriJZShQjZMymeKDv+mm2UK959I0H dyjXLa+JvL7dFxSxugK54LstXG5VI+mV60YmSveWMPkUApv2iKxUwCFl8gjZcvJgUj 8EclwIMvMTNb09SuUhv9y0JcNhio0DK0UuJyulC0oYGIOIN+/2mJHGFfL18PL5HeaS ckoCX69pqvOSuKTXdfED6jKW5svBLqndSZ0VIQlV7C0lJGFd5BSk8aWjpnInL9SosF LT7K/5BB5qymLC5OOEQNh1Z+c2jSM2uD9zryxgB3vDPKDufzy3Oyx+VGTAmPhu0itU u2K4wkrkxUqoQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1B24C64D95 for ; Mon, 22 Dec 2025 16:19:08 -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 S50J0nwaDemw for ; Mon, 22 Dec 2025 16:19:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445548; bh=nTelht1UzoLNE8hBvz39n10dspsezPltgBTcsvNCvCQ=; 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=Vbf04JTW/pU0suBFFmLGgPU+hi0yFxBBVukyFriJZShQjZMymeKDv+mm2UK959I0H dyjXLa+JvL7dFxSxugK54LstXG5VI+mV60YmSveWMPkUApv2iKxUwCFl8gjZcvJgUj 8EclwIMvMTNb09SuUhv9y0JcNhio0DK0UuJyulC0oYGIOIN+/2mJHGFfL18PL5HeaS ckoCX69pqvOSuKTXdfED6jKW5svBLqndSZ0VIQlV7C0lJGFd5BSk8aWjpnInL9SosF LT7K/5BB5qymLC5OOEQNh1Z+c2jSM2uD9zryxgB3vDPKDufzy3Oyx+VGTAmPhu0itU u2K4wkrkxUqoQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 06D9F64D46 for ; Mon, 22 Dec 2025 16:19:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445547; bh=sGMp+SihQWIKARATmzbvwyL9quc2uyvn8Fmi04+RuSs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iVuOyk2jJCwLNcYQxuDPOdw1BVFaBRiU7aqheV12sDQ4f+6156Botl1hSl9VPN1qn +7KfB8IEwBVweUi6MhiYZsvdg1G8b3lV7RZkf6E18Fxw6L2yFpza4aQfx3Ra3qttdV GrZke2N+B1cLL4yu3I80wWWmCkNsiq5Ch8nrmW/3DDtdi936G9vhqzfy7BJwtPfew+ ytUF+MBrlPq4/ocXevtUXVW/yVfCLwWavuHIesZuCA9xhZlMVgQLxvWSGW0rYifGGb cfn8VRqPDWfhZ95JOgnOFKfRgj4h7rHOVF0CnCxHExmxxwEU3Fyb+hRWAn2D3IzBAr uurPBdT3f97jA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 08FE364CD1; Mon, 22 Dec 2025 16:19:07 -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 VZ6uVy6-Nrth; Mon, 22 Dec 2025 16:19:06 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1766445542; bh=7dS1CmWb7QmFl0d4IGL4HmxahWxVNdErBB8a92dAJtE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cFQS4lZISA+VHgr/uVVUuC5znEHw0UKKpU91cec7VoI3+sisPZAncA6sR1jz5+/9D YgSwxMn8Nej+cRWXparoWncLLbtNxZCFMUS6OTczOp8KqJemvlxcNiVbbokf/79Jt8 RiAc9N+zsYs3m3SvoGXl8FJz5UWz1tpoB+3DbEE9NTYuHqS55pFEbwZANrE7l0Wt6/ ATB74DJ7z/TR+TvlDgDAy+QEsrK8IUppSJDhJjflSPiB70nJZPzj1WdX/gxIWCJj0N IX3/2bFeiXEfGTkmKsTdppSzR1/D5M+9Nsn4V6rapLrn4Zgm3oPXmdl4Aa1YXNBWwI OGC916d96b+8A== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 66D8064D86; Mon, 22 Dec 2025 16:19:02 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Mon, 22 Dec 2025 16:18:36 -0700 Message-ID: <20251222231838.2298178-4-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: D7JRFAHTMMRF6ZCDCRZUCNPH3Q4TG5IR X-Message-ID-Hash: D7JRFAHTMMRF6ZCDCRZUCNPH3Q4TG5IR 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 3/3] CI: Add buildman coverage test 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 Add a CI job to run buildman's test coverage check. This ensures test coverage doesn't regress when changes are made to buildman. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06cdb6500be..eec57710cbb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -305,6 +305,16 @@ Run binman, buildman, dtoc, hwids_to_dtsi, Kconfig, patman and pickman suites: python3 -m pytest ./test/scripts/test_release_version.py; make testconfig +Run buildman coverage: + extends: .test_suites + script: + - git config --global --add safe.directory "${CI_PROJECT_DIR}"; + python3 -m venv /tmp/venv; + . /tmp/venv/bin/activate; + pip install -r tools/buildman/requirements.txt + -r tools/u_boot_pylib/requirements.txt; + ./tools/buildman/buildman --coverage + # Check for any pylint regressions Run pylint: extends: .test_suites