From patchwork Tue Aug 19 19:39:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 28 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=1755632417; bh=d3zPFnbJjvyxixIjhOaR5NLuuVoRpgKFCiKRrul9zkQ=; 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=SF/6S5yCTTqVmo09gJoCdT+RLtnWK4kmkTUKqaJNkTWusOdaWsOfAdYMw0hZzSLyh V0jYXI1vSdKCg56I/3Q4aQQOIUb8WlqZCTjDaSvxul0NlxgPfOJ7IuIM9hKVCzCB81 Dsnwi5sP6+cyT+0I09+UocnDvfeVSXTEJRpMAyDomSQxQkZBbieXy6C95AZIo2trnx cmm9UMgkX5j7CBDsaGjI+TS+0v17pmL2vL8wV5TlHNsLrxCSHFSBGHNLLYlrt8rMw0 jtj6ECE2Iw1TUBiKm7QW8SFuG275QNO2FNPwaqAEopev124xywdShNfYOYrjIW9Uyz PUI7ag6obGggw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C436867622 for ; Tue, 19 Aug 2025 13:40:17 -0600 (MDT) 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 nB04m14TJDs7 for ; Tue, 19 Aug 2025 13:40:17 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632417; bh=d3zPFnbJjvyxixIjhOaR5NLuuVoRpgKFCiKRrul9zkQ=; 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=SF/6S5yCTTqVmo09gJoCdT+RLtnWK4kmkTUKqaJNkTWusOdaWsOfAdYMw0hZzSLyh V0jYXI1vSdKCg56I/3Q4aQQOIUb8WlqZCTjDaSvxul0NlxgPfOJ7IuIM9hKVCzCB81 Dsnwi5sP6+cyT+0I09+UocnDvfeVSXTEJRpMAyDomSQxQkZBbieXy6C95AZIo2trnx cmm9UMgkX5j7CBDsaGjI+TS+0v17pmL2vL8wV5TlHNsLrxCSHFSBGHNLLYlrt8rMw0 jtj6ECE2Iw1TUBiKm7QW8SFuG275QNO2FNPwaqAEopev124xywdShNfYOYrjIW9Uyz PUI7ag6obGggw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6C83C675EE for ; Tue, 19 Aug 2025 13:40:17 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632415; bh=bJEwyZG+VbOSQIX85AYvKelAZIuKn+SK+B208XLuzB8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pLUEym3Mpf58Jt5HZkV0I+HSu4arEBGhq7Q803TK8Qsg4atEYDAsJOtFgSQeQQUmd RmiCKMlLfCCXPEFQQrl3p9bFDtN3M183yZ/KY/9VU51y7o+vV/VrVL23qRfYBTf17g EWfckfF8CUBz0FPUbIlX+6k837qclimPm0bh/NqXUdqcoA0FyjwVBfFtUZJEyfR6Zr HGWD0NYTIPHXZaZ0hjBhv/aAx7hNw6f6hKRHMTif2s1VLlrntgvxX1HR1aqkkq7q5M pGy68nWL3I7AyLNlP+TeBtJJtUJxkqTBhJK77crQmYeY0iKkl8JmnZJcFIXQK065F8 pSXkNWgDXH8cQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 42A646761A; Tue, 19 Aug 2025 13:40:15 -0600 (MDT) 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 3C8nwXYkuaGi; Tue, 19 Aug 2025 13:40:15 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632413; bh=daVGLm1RtFEj7dQAfMP5ljpeak1gaKQ1yxdtTXfOGX8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ug9vMBiYe+LWegxQYzM5k8C/n887w4umB607JQeZF3LvYD9zL8Mkx8NWK0qFTvmgN s/5wedd1M48O3dn7o4VVERPr7+/YdYRG0c32ubtKsI2Iu7D7JHPUcQCwvvst+hyYeJ 4X1I9G4M9KGTuPNDE5uVjnb/7QJUUEMNx8kYMrUF0//tqYpZRLm7jkf7PM+AuxB8rM lq0xGlFJMOHx8Jsk4UVOk3zbowyOXNqnIHbMdfaBUr1IRM1of1y1Nni9/ws6wTC/e3 aPoaTefpPx8vd0U6jnSAfLN3guQE9jcingx9Tks3M511BXkIH7o0ndZLle7ReG0YYH mpguXUzTRVsPg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id F1E54675F8; Tue, 19 Aug 2025 13:40:12 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Tue, 19 Aug 2025 13:39:01 -0600 Message-ID: <20250819193918.874215-6-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250819193918.874215-1-sjg@u-boot.org> References: <20250819193918.874215-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: YBYWLO5I4524Z537EZRQN7KAK2KARH5G X-Message-ID-Hash: YBYWLO5I4524Z537EZRQN7KAK2KARH5G 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 X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 05/15] buildman: Deal with DTC in environemnt in test_skip_dtc() 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 If DTC happens to be set in the environment provided to buildman itself, this test currently fails. Fix it by removing any DTC variable before starting the test. Signed-off-by: Simon Glass --- tools/buildman/test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/buildman/test.py b/tools/buildman/test.py index 735203e934c..c7000b58bdf 100644 --- a/tools/buildman/test.py +++ b/tools/buildman/test.py @@ -1012,6 +1012,7 @@ class TestBuild(unittest.TestCase): def test_skip_dtc(self): """Test skipping building the dtc tool""" + os.environ.pop('DTC', None) old_path = os.getenv('PATH') try: os.environ['PATH'] = self.base_dir