From patchwork Sat Jan 10 23:56:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1478 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=1768089451; bh=HRAV3rmMVtMOBsZ+UR5fBnFyrmjLTbreipNKi0TTAWA=; 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=EvlUfsQ9YtTv6O6fKvP5sAf2nLMCvmhhWmIJtPd5sFJqbLwGJdmXKDrlxKdZ9LusU +pEwHRI9hhJo+11/YalqqvptbJDydjlZnXmHSGi0iWxa83Nx3P5pT3Zdj31IaldzJY MnvN+PRl69smxwVUhLogDc1QucdRyNy1GjLV0q+Pq6De/mu6az2R9Tuo4iv6j1sEec Y2iLWTIEMU3HB6kK55MlHw+k/jeqqELwkTveFGRMk0CQ8Hacx6IgNdEYdhBHvrnTP1 n20OTQRWYO+HNUsFgcLZdZEN1AGcu59PdqCT2rUPmyO2MEs/ETf2DS3N+80yNy43kY wmOfN+SfItrtQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0C0E9692B9 for ; Sat, 10 Jan 2026 16:57:31 -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 uI5FLEr7GHfj for ; Sat, 10 Jan 2026 16:57:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768089450; bh=HRAV3rmMVtMOBsZ+UR5fBnFyrmjLTbreipNKi0TTAWA=; 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=UANwTbOqDDRmYbFPS+7rFAE18kskhfKIBLRdr7gBIgqhRN04gz49w4BCsl0by5d/A V7giBy9m3Z9ofSeSXRfJENyDHPX+190p5PNMjbeAwTBWAdV+3glohlfGvuXLiEYBFs /0ucU8y4egFs1rnCKfa2H7rX0atJn8YeZ4dhAbePRlm35V5YMUVSg6a+J7Wht5DAAn oA648njNJhvdmEIizIYIy+4B3OnBbgZCd3QWP4M12OOfDN/W2XEqY36A4kNjU+wElJ Q4nsW2U/lqS5AtzFE5w7vgnEA5poZ+ZZtxCa3QzaTrPxJqfC8sZH/Jvy6qWRdxGG30 fn9OCtMm9KGBQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id EDD54692B0 for ; Sat, 10 Jan 2026 16:57:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768089449; bh=X+SXcAd4SfkQ8Hzb3lot+jWIRhR7KYlvGP+TwCM8SEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kcjpl+WBjalRKTFpGhLcEXzflS12JnOaDVJR6fGjkm1DKV4SUXHjhUpS8JOhjrqNL 7KTO1DNz+7xmZEnzaDIxfSbOzp0IAdIKlIk2t4ZKlsEnNo7SNXBRCazlKfrjJgK9mJ 5uMCa8KIHswFoByRUT7iDJUr1fc9Z1CVnSkOT12hVavSGEsLtxytm5v+QkVdq4UhdL HLnH8O54i+uDStgJJc08vcf0MXFqiWdMTOJlWRw+JLydqCj7BGcAvENdvzV/smVvO2 4JOoFq+Es0iv8y1m5nKkCNLsqts7Whi0qxEiF/1Vft2D4M9rWPrp10JZmB/YeSNggR SWViZKVL59bFg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2C2E4692AE; Sat, 10 Jan 2026 16:57:29 -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 z88ZKqHBGDeb; Sat, 10 Jan 2026 16:57:29 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768089445; bh=VReYo36D8ZnfxVU08Xudkf42227FR4ty//4thPvbxk0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DTQ/B3lq1exeOvEUZIHh1QN9+c8Exx+EWErARklXkeVShNWeuLtJFcW5Y9IYR8aIY edS4uPuP6lF37n6GSfCUC+7fUh767UPmvgHFcGONcI/e3BQKJCE/micLzKZYjMujIQ 4wQLw+3npiMFEGQZiPfwutMjXbxx8CAVwMBbrIab/RB4N2ZPmeSjU14lFC2cMOaO+/ hcmfKtt3NLHwoSzrQIthuZoGl/jqtxQjy9SoKVkQC2+WT12oYS82i2L4TRaDbvtdNS Le+tUpVSePxIl+ChjcWvcQ8DuDa4Tb6HbxD4oxkYhOsbDEYOs0y86JcRpP1vuzAk4Q mIAr6C6NwgSTg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id D282769186; Sat, 10 Jan 2026 16:57:24 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Sat, 10 Jan 2026 16:56:19 -0700 Message-ID: <20260110235633.1064859-7-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260110235633.1064859-1-sjg@u-boot.org> References: <20260110235633.1064859-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 27LEP2ENIENONIUSSN5SYHFZKJGZMN66 X-Message-ID-Hash: 27LEP2ENIENONIUSSN5SYHFZKJGZMN66 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 06/14] buildman: Fix indentation in func_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 Fix inconsistent indentation in test_bad_toolchain() where 2 spaces are used instead of 4 spaces. This fixes pylint W0311 warning. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- tools/buildman/func_test.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py index eb496c327ed..f677282c11c 100644 --- a/tools/buildman/func_test.py +++ b/tools/buildman/func_test.py @@ -581,13 +581,13 @@ Some images are invalid''' for commit in range(self._commits): for brd in self._boards.get_list(): if brd.arch != 'sandbox': - errfile = self._builder.get_err_file(commit, brd.target) - fd = open(errfile) - self.assertEqual( - fd.readlines(), - [f'Tool chain error for {brd.arch}: ' - f"No tool chain found for arch '{brd.arch}'"]) - fd.close() + errfile = self._builder.get_err_file(commit, brd.target) + fd = open(errfile) + self.assertEqual( + fd.readlines(), + [f'Tool chain error for {brd.arch}: ' + f"No tool chain found for arch '{brd.arch}'"]) + fd.close() def test_toolchain_errors(self): """Test that toolchain errors are reported in the summary