| Message ID | 20260106220403.2915630-26-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> 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=1767737174; bh=XPChOeL1ER1oirXhic7LraSTPYXptb9SUznNDeKuWK0=; 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=nOE8yID4K57CK94R+VptOVC3kTn9OpfoYAcRo2S5Agi1AG9SCZNWvId6/HSpbw+FR 9hrwVFijx0Ne9G6brddnMLHhrzmElGD5p+LfvIJ4QILUI/auTBnW427YXsX2vlu8mP WVOFWyBHoEm7aQfb5YnzZAVefsz+g8EjNGFiC8wILwl8vC8IQ1PZc7fbgBZlDbNeYm I+JA3PXyBWKF+6yValnroMWQhv3jvRTrrXy6q3n4ZRHWnWGXLDRuvMcmkQmOrrpPOs YAmzF9oiREwmTy2/62tPIXG+ZMq/nrdst0YwZMGLw3QRqQVOKE4yzJbdx56SUlR/La p7hVi7nrkszBA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2E38369162 for <u-boot-concept@u-boot.org>; Tue, 6 Jan 2026 15:06:14 -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 7mB3ghoeYa2c for <u-boot-concept@u-boot.org>; Tue, 6 Jan 2026 15:06:14 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767737174; bh=XPChOeL1ER1oirXhic7LraSTPYXptb9SUznNDeKuWK0=; 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=nOE8yID4K57CK94R+VptOVC3kTn9OpfoYAcRo2S5Agi1AG9SCZNWvId6/HSpbw+FR 9hrwVFijx0Ne9G6brddnMLHhrzmElGD5p+LfvIJ4QILUI/auTBnW427YXsX2vlu8mP WVOFWyBHoEm7aQfb5YnzZAVefsz+g8EjNGFiC8wILwl8vC8IQ1PZc7fbgBZlDbNeYm I+JA3PXyBWKF+6yValnroMWQhv3jvRTrrXy6q3n4ZRHWnWGXLDRuvMcmkQmOrrpPOs YAmzF9oiREwmTy2/62tPIXG+ZMq/nrdst0YwZMGLw3QRqQVOKE4yzJbdx56SUlR/La p7hVi7nrkszBA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1D8FF690CB for <u-boot-concept@u-boot.org>; Tue, 6 Jan 2026 15:06:14 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767737171; bh=mWWHx72xpYSETCtJeBUf8hg52x+S11R7goSqT+LfOLQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=scmNH8Jt2TcWY9RYRFDi02SQCayZA1+Yecu66MLyOjPLO7g0QNR+ccMi1qw/vrdoj VuSWf94I6epTdUwQXA0P2YTJqxupj9KmgKMtcv8s6Oh/KtgiaVAwSAHKl1amqkHtKd 8iTgRiVnkQJwsikJ0CgxmJW4SVfMWwo6UccdsNCBwXYmte7gy4ufqhjeUlNxl6eSYO FpjgMk5duoQYd8lKihLRWZUF498dcFebU/RjUZPEluMdDxs4xmbuNGpzGWERdLfftv GJmahP4yYfetRlttwknEVFCntHw5NTVKuiM+vN1f0n2D0JPCXNswcP3iHIKoEF+a2Y aoFCSCc6s001g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id AABF26916D; Tue, 6 Jan 2026 15:06:11 -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 Nf0xTtfcmmai; Tue, 6 Jan 2026 15:06:11 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767737167; bh=7I19PaAmvH4MG82pAhsJZuBvDZrd361RG+Sl/q3QO44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fO/vNXlU7g5ZWsMhYBUy23ogn+7Dpva0w6/IvJNDSwL4oh8yTC10FXvKytu4dkDot C0J/G89c6GBXAr9IzqExEj5OvaerKGvyN+wbkVf3MDtIAluMctgtgFPy6vyrjV/4QM LZoMMOtjG6XV+EGKz695ySUOupyrAO/Nb0WHhWOcO6gv5TOg2TvTUmxmoCtPMuwv3J 1TT/ccOUJLtumxaIolrW+8nUvG12WQ1267v3U5MhBuskxlaPa+mq7IbvI4gywRY4hu 3zFjv/5jodKXvo11JBv+TeywvaBqrjt6PW57AM+zoJ4oEGjtSTDuc+WN035BWFPM2E Sf1ilhMH0HidA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 7628969146; Tue, 6 Jan 2026 15:06:07 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Tue, 6 Jan 2026 15:03:43 -0700 Message-ID: <20260106220403.2915630-26-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260106220403.2915630-1-sjg@u-boot.org> References: <20260106220403.2915630-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: XJOJ2TX45TZJU3PGHB5GGJLEJCBAF6PQ X-Message-ID-Hash: XJOJ2TX45TZJU3PGHB5GGJLEJCBAF6PQ 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 <simon.glass@canonical.com>, Claude <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 25/29] buildman: Extract not-built display List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/XJOJ2TX45TZJU3PGHB5GGJLEJCBAF6PQ/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
buildman: Clean up builder.py
|
|
Commit Message
Simon Glass
Jan. 6, 2026, 10:03 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> Move the not-built boards display into _show_not_built() to reduce complexity in print_result_summary() Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- tools/buildman/builder.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index d5b57246908..f8217124864 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -1877,10 +1877,19 @@ class Builder: self._base_config = config self._base_environment = environment - # Get a list of boards that did not get built, if needed + self._show_not_built(board_selected, board_dict) + + @staticmethod + def _show_not_built(board_selected, board_dict): + """Show boards that were not built + + Args: + board_selected (dict): Dict of selected boards, keyed by target + board_dict (dict): Dict of boards that were built, keyed by target + """ not_built = [] for brd in board_selected: - if not brd in board_dict: + if brd not in board_dict: not_built.append(brd) if not_built: tprint(f"Boards not built ({len(not_built)}): "