Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5244606A330 for ; Fri, 4 Dec 2026 18:13:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=Exzj/stN; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=bt3l8hpd Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 93BC940DF6; Fri, 4 Dec 2026 18:13:58 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 3QonYTuVp0mi; Fri, 4 Dec 2026 18:13:58 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org CCCBA40E09 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796408038; b=I38mgYxfGHYt4ccR2mEhZtSOzSWjZw6M8avjIgMDCCmjdtXKwucHIs8+aDRKh1e+Jl0I IzvLsxx/amAaOq1vA0itZ8ch+3qcjiqSkjLdVCTru5TQ0/s8AE0vHUOOA9ujvwkZRIdKv fCMRm9Ek/mHmsTfJi3tRVCBJBUeCsCDAd+fdvfpa30LhvnMPkPjFRrZFRMJpk4QKZLfwl TWdjRavCyVEzZUZ3510iiKg/c6E2gu+8tnmcTj9VT1NyOwjncJxJ+7f20gAzOwfCxIOWs YhnMcEQv+anq2n5RuJRdA8dlbys5e+tVNCc+oSeyYOf4TlZKfrk2ntHiDtXYeeS+9ug== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796408038; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:Received:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: X-Mailer:X-BeenThere:X-Mailman-Version:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Errors-To; bh=YyVdqs5X69+7bVHafsyfvxv+zKi8QXBdePIbG9LtQes=; b=PgOeIy+ktBNDM3M4qCMmlLID2UfUfV6D1rr8pgWcFFXdWg2wvkHB4Bkc3160RPcbfQRp 2Mo3Q7C3i67AfJwIORozdE8TWgkfAFN+VtsAjCME+JKCxd7jBGqAj8Erg9SEOJH4PXEkO EP7oXS0JzeGB3L1nBhhBmjwmSHW2+TlZb+zmVFokNxDZqwdwPafkWj+tBGq9nPqFT0a24 YYpZNO7NYvNjDZvyB5sBHyPMx+2+C35nfG4orvOgx2e4CNo9g1issjjRSqwnQusMHJJ1o 6tm5XCd/4iyYp5Oh5W1i8Km4lFQ6I32mK1b2QgAQbMht/xWraVTckf2P/trQLaOY3Ig== ARC-Authentication-Results: i=1; smtp4.osuosl.org; dmarc=pass header.from=linaro.org; dkim=pass header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=bt3l8hpd; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796408038; bh=YyVdqs5X69+7bVHafsyfvxv+zKi8QXBdePIbG9LtQes=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Exzj/stNT6SKw29bbCGbwn/muY/YsepxTsu/ql1i5gWMo9HapuBnUWIDWfTihLCbi UONzZYvwD5MN7iV8NOREtXq5yTRLq266Yf62PpZK3F6oz8U3p58tvIkxEH6OPLwx6q hs5bsaUShizIjilxNe56+mW/B5ta9dyyTBiVz5cOHIhWpEORkmVXlwSmcbhrsKxh2G vUU016LXkfibK/qJvlFz4AzLelbJcjxawIGGhpuQa/bvxiM4Bo5ivG80UnnJ88HfKw zdzdupFvACL2ofO8KruapyqnDOo2rxTp2K+gqGJ6jl7xOvWm/46dX/lTogbQf9e+WX esiVNesaHEGRQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id CCCBA40E09; Fri, 4 Dec 2026 18:13:57 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists1.osuosl.org (Postfix) with ESMTP id 59B2E2C7 for ; Fri, 4 Dec 2026 18:13:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 43A2F40DED for ; Fri, 4 Dec 2026 18:13:53 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Ct3yccpuNYJX for ; Fri, 4 Dec 2026 18:13:52 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org 1B08840D03 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::32c" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::32c; helo=mail-wm1-x32c.google.com; envelope-from=andrew.goodbody@linaro.org; receiver= Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=bt3l8hpd Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by smtp4.osuosl.org (Postfix) with ESMTPS id 1B08840D03 for ; Fri, 4 Dec 2026 18:13:51 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4a9a8d6cea8so13681745e9.1 for ; Fri, 04 Dec 2026 10:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796408029; x=1797012829; darn=lists.u-boot-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=YyVdqs5X69+7bVHafsyfvxv+zKi8QXBdePIbG9LtQes=; b=bt3l8hpdOMcOwfXOpsCgw+i3XFxwyIXXpAYKy/G9UmOdgyP2i22HTkFAtMVGvkf2yL 0J+c9S6syhQx1+u3gpXqbuqInb0q3mxlrWIg+QH13KN2MezlL7W3te95115xORoySscU bp3FGgmmvOP5Nea82tIDLytpVT8r/r5+ColwHHdRfXaZAxWw8BTIWRhbJMpKV3sXllFf ZgLzivexJZbQkjYiJEqSa00fFSe5AUYoUdQz4O5FY8hrXHDG2Pf1KMgeMGbR77n6z3Jv i+AK3o21eX1NdQTkKDm4P65m8oRHdzJzl0GsZ07OjM5xAdhdu7nJwaO9Fy/0D+FYw07+ R7iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796408029; x=1797012829; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=YyVdqs5X69+7bVHafsyfvxv+zKi8QXBdePIbG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fWm6blz+j4nJXhArj8CtWq1U7cd2n3Guh 6/vLbXFojgTLVECisKtdlZzKtMeaHKEPOiTJYhFW4m9VVmD4 X-Received: by 2002:a7b:ce90:0:b0:4bb:68cc:7b94 with SMTP id 5b1f17b1804b1-4bbe1a09b5fmr91937185e9.18.1796408028907; Fri, 04 Dec 2026 10:13:48 -0800 (PST) Received: from artemis3.elfringham ([2a0a:ef40:ee3:3401:7071:3a81:cc99:9c2c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d174452809sm6915361f8f.53.2026.12.04.10.13.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 10:13:48 -0800 (PST) From: Andrew Goodbody Date: Fri, 04 Dec 2026 18:13:41 +0000 Subject: [PATCH v4 06/14] buildman: Cope with empty CROSS_COMPILE in tests X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261204-qcheck_fix-v4-6-3cdf2e164297@linaro.org> References: <20261204-qcheck_fix-v4-0-3cdf2e164297@linaro.org> In-Reply-To: <20261204-qcheck_fix-v4-0-3cdf2e164297@linaro.org> To: u-boot@lists.u-boot-project.org, Kory Maincent , Linus Walleij , Ilias Apalodimas Cc: Andrew Goodbody , Tom Rini , Anshul Dalal , Alexey Charkov , Heinrich Schuchardt , Mattijs Korpershoek , Carlo Caione , Yao Zi , Michal Simek , Quentin Schulz , Marek Vasut X-Mailer: b4 0.16.0 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 When the buildman tests are run through the Makefile with eg 'make qcheck' the Makefile will export an empty CROSS_COMPILE variable into the environment. Add the code to the test that will accept this as OK. Reviewed-by: Quentin Schulz Signed-off-by: Andrew Goodbody --- tools/buildman/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/buildman/test.py b/tools/buildman/test.py index a5566a9ab89..063bcf6ddaf 100644 --- a/tools/buildman/test.py +++ b/tools/buildman/test.py @@ -656,7 +656,7 @@ class TestBuild(unittest.TestCase): tc = self.toolchains.Select('sandbox') env = tc.MakeEnvironment(False) - self.assertTrue(b'CROSS_COMPILE' not in env) + self.assertTrue(b'CROSS_COMPILE' not in env or env[b'CROSS_COMPILE'] == b'') # Test config with ccache wrapper bsettings.setup(None) @@ -668,7 +668,7 @@ class TestBuild(unittest.TestCase): tc = self.toolchains.Select('sandbox') env = tc.MakeEnvironment(False) - self.assertTrue(b'CROSS_COMPILE' not in env) + self.assertTrue(b'CROSS_COMPILE' not in env or env[b'CROSS_COMPILE'] == b'') def testPrepareOutputSpace(self): def _Touch(fname): -- 2.47.3