Message ID | 20250819193918.874215-9-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=1755632424; bh=lL397nAWy/mGQ9zhVpjEsCvoimef00aLMqWD22aUgIE=; 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=EPFoHWJX5MnzURYlnMWk5XOv3FcqlvaabknBukd4zJ9rCCKS/e3VAYLSWERam3ELA Q93Msyoc57XRcmwXFg6yijYq7WEJd5q/9G2GrSLNWSXWK1ZOcZNycTFOLqZv4frJwA 9Fk8oxFFTqT9fFf4DlLHm+JZAcVy/DNGRf1Kio6ljknjnT0toRWenwflaEwaOnP/cT FbK+CTQzcPdmWgVtqo8E3Yld2UVJP1jiqekQSt+zatEnZxxZOubn2OrbW32Diz/bYG KfmhzUr0IP6P150fvvIlvJa1IQGHuBXFDFP01Vi1NIeSLjPmBLmuEitfSNVudTV1/L DFf1Gl4Dn4HsQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 745776762F for <u-boot-concept@u-boot.org>; Tue, 19 Aug 2025 13:40:24 -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 TzPus3RMxStF for <u-boot-concept@u-boot.org>; Tue, 19 Aug 2025 13:40:24 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632422; bh=lL397nAWy/mGQ9zhVpjEsCvoimef00aLMqWD22aUgIE=; 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=eIrpAZZQ46q+N8hH5M/A/ne6ivNqtkq3i1pBEUcPEuxS+WzCX4NUkbs6WIXQCu/vu Uv2q8gFq+E0TbXlgtDljf5c5R3ifh/OY7BfLokLBS+6FKqO3jPH9/gRznOclUf6Od8 heDb2D/U/fxZ+buatHPHhdILKQc18KLo6p86zD16MxW3vnxvKv8+AG7qF0eL/3g8nQ BRsJNJnpiZVRJz0UUFu0yqPskC28Dtq/4EmW5WxJlPP1g2ahdD9JWyAX0/VPMXnHNq beyVE6qAssCb+jpLzVlumECQVWqCA2xBZ23hQU6PfYluwDtIJkjGQGm2PQkYolNtEf S5J66sseQa6kA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 80C2E675EE for <u-boot-concept@u-boot.org>; Tue, 19 Aug 2025 13:40:22 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632421; bh=gpS0NuGKg+KVSHDSecktDvoSenYCH7LDx+PWf/T2wn0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hckv4tNV6pnUI1a8ZQozkw2RUU0egB/+bOFi4DfhcWn93pE99Hd4Q5kC+/RnLVs2y qDwN/17HeY8VgP0nxQn5Yl0ryQ33Xx2IWspzUDhJ6O2i7KbZWJaZIuK9yRcBgGHtcG D32s1cB/bfnyHeRN4cL9bFrlJCXEVbOJb+8u++AGOZlTvLVttwJ/NxPAfawWpGr5VM xwrw9DwofFDtQ1bt2J3X9QlJZlrzWTQa+gt5+LmfH3rL92B+QE50dDsWR52DstWYLZ Imvq7Xg+A9qulcRylXxaITIER4FJvxXpxmTxiCwJHZGniBDkz/gBEme0SssMEu5uJy /bZkYglT6HrjQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 0F98A675EE; Tue, 19 Aug 2025 13:40:21 -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 saNtL5Lb4u4u; Tue, 19 Aug 2025 13:40:21 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755632420; bh=YV9PbwuixokVa5ZLrR1tvWEmCE3qXqsQ9V9NLsHj5UM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pbMvGftQDfWGtDbkbDVXviZZPZ6FuZPyPAyZIg7mJYTrIfWki1c3lvcrHOOKKgyYj gDQ2D9+oEuCnirfUXbLjMY0lsIJWojcwY/rrbx50ot4XmEDOODyB22sUHjpUNcNffH SyGge9SdPEJvJ2mrNr8+OBj1KJAY3YOgD1cxGl0Rbho25e9gq4ffDtRSq77kjEXPNz /0mFNIeSTAdn25/XZW7+Kqu3W5FZGIfeV7/k+f+Kb7LigYie2C/kJfQ+ihU6cG9wdU eY8gf3YIfxamrggmGKVQJLGpOkU8V3mrPf0ma1pbEZrLyYnqjJt0VE4edv2IgOWDnu TEC4qqhCuQzhA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 973D25E436; Tue, 19 Aug 2025 13:40:20 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Tue, 19 Aug 2025 13:39:04 -0600 Message-ID: <20250819193918.874215-9-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: ZKMRM3OBT3XDOZWSHR6YTNXKRHLMMTK2 X-Message-ID-Hash: ZKMRM3OBT3XDOZWSHR6YTNXKRHLMMTK2 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 <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 08/15] buildman: Handle CROSS_COMPILE being in the environment 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/ZKMRM3OBT3XDOZWSHR6YTNXKRHLMMTK2/> 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 |
test: Improvements to make check et al
|
|
Commit Message
Simon Glass
Aug. 19, 2025, 7:39 p.m. UTC
From: Simon Glass <sjg@chromium.org> If CROSS_COMPILE is set in the environment passed to buildman, testMakeEnvironment() fails. Fix this by removing the variable before starting the test. Signed-off-by: Simon Glass <sjg@chromium.org> --- tools/buildman/test.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/buildman/test.py b/tools/buildman/test.py index b4e612bc5d6..a134ac4f917 100644 --- a/tools/buildman/test.py +++ b/tools/buildman/test.py @@ -650,6 +650,7 @@ class TestBuild(unittest.TestCase): def testMakeEnvironment(self): """Test the MakeEnvironment function""" + os.environ.pop('CROSS_COMPILE', None) tc = self.toolchains.Select('arm') env = tc.MakeEnvironment(False) self.assertEqual(env[b'CROSS_COMPILE'], b'arm-linux-')