From patchwork Tue Apr 15 20:49:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 881384 Delivered-To: patch@linaro.org Received: by 2002:adf:f902:0:b0:38f:210b:807b with SMTP id b2csp652978wrr; Tue, 15 Apr 2025 13:50:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWAJ3uXCz4cWA4eoOvZ4J50Vx02TazC0LYFFzBsDJn17epNPAEh2ExJjtqnWe8qeDO2QMWXSA==@linaro.org X-Google-Smtp-Source: AGHT+IHZ1aGEdIrBSFs3CYJ1jzd8WUqULmfu1yPM/f3t3VEEi/128TjSC6OvM/s7K47Ia100ssWr X-Received: by 2002:a05:6102:5f88:b0:4c3:64bd:5405 with SMTP id ada2fe7eead31-4cb52908f15mr635576137.9.1744750200684; Tue, 15 Apr 2025 13:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1744750200; cv=none; d=google.com; s=arc-20240605; b=ZT9YlVUgYdhRxVFFJ3TQiyEftJS5D572H2oBMe2I8WBC/JyNW7e0TR2/1LCPY3Vf0F R/N2ZDEEJna9CmZDx9gmNh27cjBf6gTghvTFJEETt2WRAob6gzPUHDLvQwc8yaW2kU+h WcLZ4gMsdV7mlhCsAx3uW3JU6eOMnNS7sPj7M5qA3wbwnWK0aQTCnfpXZDM58ruXCkPv zhBbNAd5UoQODR/bSUNhpis8bnt0deRACEGAz7TXmT1RuYnh3cSGMm7wlK6vzn6ek0Rv 5R0DWqY1BxfMmuEHj1iU2pljI1xPMofvFC7kZVi2E1tCDW4PxU6yrIt3RyZJwnNenL4l rdHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=RVzjfgJ1ruBE2K57l18rXYnXk9sZTfi4931s5vuETM0=; fh=qzQ969ibZvqeCZNZQmvSat11SLQ63HrAEth0M/ZvSUU=; b=I2yqwZvgZ58eB3rHd2k8AgQrRDF4+ZW1/b5zjDT5acMLm3qSbnbu1s8CJsVFu+kcTK 1ExlVgpgBvuWqaisg98ihp+MRak89qQKy4N3K6GdtfHWaLTE7BnVTRHWadbCPwnIHWE0 P5TzbCf6iwPdU3fiQul/Q57RTU9/gf0D1rNlHC7SCvT9L0NA7FWDrAuK5iuHctZ52ChK 00t/d71bisK6YapRJchufVaGsOXMUn3mEbo1tyUGIRe/IArufZAOUT8JGMx6aw1ZvFTR qy92Y64Q/eMSCatNOq1ymd8tTb3yIc17vRLnzETfLuN4E+b6X6uOg5YP+hW/AydtWWvT mHVw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hqu8BCpz; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id a1e0cc1a2514c-8755728a80bsi3926280241.98.2025.04.15.13.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Apr 2025 13:50:00 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hqu8BCpz; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C60A98214B; Tue, 15 Apr 2025 22:49:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Hqu8BCpz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BDB4282B45; Tue, 15 Apr 2025 22:49:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A8A0881F7E for ; Tue, 15 Apr 2025 22:49:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-43cf034d4abso66123935e9.3 for ; Tue, 15 Apr 2025 13:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1744750195; x=1745354995; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RVzjfgJ1ruBE2K57l18rXYnXk9sZTfi4931s5vuETM0=; b=Hqu8BCpzxZLC7javYDs7cjiMJq1ZUj+adZUMXMz6eOgadqZV+9COM5RhjR6tpDb1Mm Q2sD4vkvHtvHdqu9hvz6UCVNkeAkcNwfmmKtAlrwvJUscisPTL9TY91/lbtjt5cMr4/1 HPz5cRoYolmP4MkqWjn6Peoi+xqYUFMAiKZ1jJrgWAj652WFIk2TIZPIZUvWy3dhttja eVoKYR+27A36YGoY7OtlSqoYmflnTl5fzr+xsc2UqrAxz/UY44+9A5goQDUXKk/9BYcm HCVhgZk8TzdR2zx3oB/WDkTZrECkfEl9vcEA+6y7X5Y5TYQoF944HM5oSE+yHV8xC90x hgow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744750195; x=1745354995; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RVzjfgJ1ruBE2K57l18rXYnXk9sZTfi4931s5vuETM0=; b=m9Z3qaoX5AdmAaVMdjFVmBVlrKtDEIqfscU6ZYPCFvreQkTnjv7a6TiKubthJndpNp FRiC/uhfxcoi+MTM4n1m/YyJ/trt6LlCOR//4N6YIBRXVXn52nYi4fCLIQmrpxIE0iuU UEZA+oijUPyd/KS6Cek9tAaNt6dVRTu+mCR+X7XmmgbXU3oAvMdYzUM5LIep6T4aFSjz 0BhFi0Aqtz+FF1axI1wy/OJ23Qzo94R6+r4OrsUpbGLM+rF+VgOdzAZNyMq+hQtZBHSE y3vahByer5SxL59uQ1GazXWHD+64PpZ7qOiGE/AD4PXJOO0DsLtaIi4+B/e4ZoYcJ6OG rt4g== X-Gm-Message-State: AOJu0YyxPa8zG4+IVU1rC37XA7dOTvqTBsr8T2sMWyKfvh0Q2ua0NVRh 6UQfy6bdEFcJr/q4+b17EYOEe9KQuJZkhBRykfxYvdxGNolsXPqlfrr8Jfb+S4k8Pu9UGCoT0nx YHAU= X-Gm-Gg: ASbGnctEWFZ1YcSIOEkS5WpkmMDd70dx9ySKgliLhb007KPdEQf1UE/6S6dg6ykH24s 9ksQAAEXju/ORaXbmQLxp+LkcMd3ttT4Lm6gC2KFESk/4nEz+1ZPDQ+tWBMY1KoBJ+hCJLPmevW 2wbgxfnUVYmhfkkCT6xclrT2mEB8R/S2Yq26ROjRsS2PeoEtvbKwGuVUW0UL5H/HAANp7y19bXO emEprsGyUD8Xb2DQkOl5YODbWC7/mFEhMmx31VKKjSwXr0jVR76p6w7vOy30HYGL0VsZeJ6Lkzm R0Gghu0AGJtfRi9K8Hd4B2E2krePZ9HLIR/V3BbfEvTeYzvs4Lmsrbm+65A= X-Received: by 2002:a05:600c:4686:b0:43d:745a:5a50 with SMTP id 5b1f17b1804b1-4405a02c96dmr4052725e9.19.1744750194760; Tue, 15 Apr 2025 13:49:54 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:6ebc:6ce:770e:95f9]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4405b4f3ed7sm617675e9.24.2025.04.15.13.49.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Apr 2025 13:49:54 -0700 (PDT) From: Jerome Forissier To: U-Boot mailing list Cc: Jerome Forissier , Caleb Connolly , Heinrich Schuchardt , Ilias Apalodimas , Marek Vasut , Mattijs Korpershoek , Patrick Delaunay , Raymond Mao , Simon Glass , Tom Rini , Tuomas Tynkkynen , =?utf-8?q?Vincent_Stehl=C3=A9?= Subject: [PATCH v2 0/2] ut: fix print_guid() and enable UNIT_TEST for qemu_arm64 Date: Tue, 15 Apr 2025 22:49:01 +0200 Message-ID: <20250415204917.1250109-1-jerome.forissier@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean There is a bug in the print_guid() unit test in test/common/print.c when PARTITION_TYPE_GUID is not enabled but either CMD_EFIDEBUG or EFI are. The first patch fixes the issue and the second one enables UNIT_TEST in the qemu_arm64 defconfig so that the unit tests are run in CI (this platform has CMD_EFIDEBUG so the bug applies). Changes in v2: See changelog in individual patches. Jerome Forissier (2): lib/uuid.c: use unique name for PARTITION_SYSTEM_GUID qemu-arm64: enable UNIT_TEST configs/qemu_arm64_defconfig | 1 + lib/uuid.c | 4 ++-- test/common/print.c | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-)