From patchwork Wed Apr 16 07:48:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 881647 Delivered-To: patch@linaro.org Received: by 2002:adf:f902:0:b0:38f:210b:807b with SMTP id b2csp843138wrr; Wed, 16 Apr 2025 00:49:03 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW9snb6e5txhy9C+h5JPDeJTWFsFuAoTfEQq45nGEPemT/6gHQL7feB2f5k7XsO0s4x5sSfUA==@linaro.org X-Google-Smtp-Source: AGHT+IECA7fCQIg6tZJs1QAM+M7eb4NYRxZI2KLFvPDXywejh1LoJ5FW6463OIjGvMtP80emDByP X-Received: by 2002:a05:6122:8d2:b0:528:4f4b:f0c0 with SMTP id 71dfb90a1353d-5290dfe51a1mr266670e0c.5.1744789743105; Wed, 16 Apr 2025 00:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1744789743; cv=none; d=google.com; s=arc-20240605; b=MPyY5MGjkDPKhZw2JXA6vJ9MoxXSA9RLLZ2OMRsSPa2qLIF856QSOrCt7VmIvnl5ZV +JlFAGtfYztsPJj8Cmj0h1iZj+gqjiIE/XzYW2Zuf8XfyhtONdV5kPmdI5F87S1F2hgg /BMXAHG4zzsnVBUFrmf1I/e4OQuIaZxjTprHGYyVOYjhx21bEuQFvbj9Q6mn6vRJhdlH RIPgWlqpNQUP3q/treeF9OkNetifi+rLr4SkFkyNOiNjg7xYKvd1cV3xk/npeJZPvcPH Xwfmld/0lVjKB6GEsK6MUivEm/NP18iLzn9Lv7nwxrwQFyiKsUCpi3EuN0zsGz0MtJfm FQzA== 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=eIXz2ULdtTo2cHCBGPZmIlBy5TVprQMk1fc+WG0HSoA=; fh=FpZrGqZxA8Edr0ylhkLos0aFPrVkqpldyiW/wGynwQ4=; b=ZhFbmZx8+xXsTBxOYVTFxacBEeE1GnH3cJHksQgFXGPCiQTcThd0quTdoE1W7XOlxQ GYP2h25KgSw21+Pibc31xDc4yXlhZNgCU5FoZFFAOc0kPXmoQm2nJQOAD081jzutpsoW ZqX1mHUUmsEMDvO+FY3PTp5EyWMlMTAvn8vDRe0PmnbVMak6gBfzvB7qcJpu3kDrruFb t7FhXsD45mNxm5/20n/h3UYOt9tQp9DmfGAnmanlXvJijIiSxMTQlIkETBnbowl5AFOS xQyHvrUnoFoSRORPSF0o135j69xSfiAA4ki3e+a/7IfwfSx+Wt5zurUR8k6MWmhHp+N5 WXYA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="T3fG6/W7"; 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 71dfb90a1353d-527abd73f72si4562423e0c.101.2025.04.16.00.49.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Apr 2025 00:49:03 -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="T3fG6/W7"; 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 ACCD781E18; Wed, 16 Apr 2025 09:49:01 +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="T3fG6/W7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CC18D82D09; Wed, 16 Apr 2025 09:49:00 +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-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 B436F819FC for ; Wed, 16 Apr 2025 09:48: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=jerome.forissier@linaro.org Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4394a823036so63645415e9.0 for ; Wed, 16 Apr 2025 00:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1744789738; x=1745394538; 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=eIXz2ULdtTo2cHCBGPZmIlBy5TVprQMk1fc+WG0HSoA=; b=T3fG6/W7If/K/7flgdQy0knVtTLPhGx/RJ8ojgSi0IZMgqAtFzWZD/FsLd/y2xPIEr cAG7cd9zK8aKDJC8qgV1wJJj7iVyY8TA56JNWKyfhGanqqbkyH08JJ4LdmSrYPkpMu0k 90JxKwJ/udws+cqO4/BM9eFaluw3nGl/aqEgamXfadwCCqLiTnnMGxhl50kDboRuOc2l r9yq9R/OVSdhinW/BfgAmJeRcYbnfxtOiV26MoPDl+zjJKsxcD4o2dZGYC1e7xbmbvB4 VOr65FbQz6EI70AMHYSLDlwQH437uybt2QnsVCKFnO7jaFqCDxnwtZUztCO05d0h3eBH YSPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744789738; x=1745394538; 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=eIXz2ULdtTo2cHCBGPZmIlBy5TVprQMk1fc+WG0HSoA=; b=aTg+sbI1r7CXwoI2e3xkP0eRJ8XoWVIbxq4w9vwkUymG8PDy0OLF3S9lPefNsqBqE/ Yj81ZzGmIdWT9G8+2t01qT0OLFRoYJdHsAPOPrqAZVAO3h8FTXAZ5DWWF/rSbUSQ9oTW HDadKojIoaRLmEzB3TFOgIgP806d9OFTb0KN1J83TGMNiTXgqZZmAfD2Qe5/3efFWLT+ lHl3bRe90DVywXB4JVUTZeXbwRHC21hGcNUNxcLt4dxWY8IJdS8LOd0wFH73ILS+cvN+ YZAm15XCS0yY9FyBdIIfUgHEN1m3ojWKdioWBdzBbUsUsj1Rjd5BYZ3roDaR7nZVi3U/ 0AXg== X-Gm-Message-State: AOJu0Yy+ULE6Pdx5A3HrZWxoCnnMAYiqynVu2SdHYOIyFd+0ePyDwV5G pHBh/FAHmc41jWdbwE1lfgYHxoWQzq1b6VS7oVJ3YmdU/rnsQgyRp3f669kXitWMScBZO4lLaxc 4wRs= X-Gm-Gg: ASbGnctuSowFdwDp+5EZW9wYHtU3pqIUPfQc9Ai7yDkA79wmrVoT/qKfh/gX/pbdRPe uM33XAnUCVVhaRQNUvpzDZK4kZtZoIKYzTBmQH0hxP+L8AJdfU8t2NpQN3juW+f5jJjiW+Y4LFk /nzbpQvCrJE8CobI1kR0s2UqQ/p5u4Tf73FVlSE1VtzTprythTekHcrxCBBaO+rJn/vI88NRaNV ioQJ0xEmd3DNMKpmmr+gl5qN5thdZWa8EUMlVdwjdz7mDFzzi3TAc7C/WE8xsWtIAC5JUkwiMJw w84PIJWz1kBT0VcHl/Zvceb53M80UumTLI3RDk/bmXemwbNu X-Received: by 2002:a05:600c:3552:b0:43d:1824:aadc with SMTP id 5b1f17b1804b1-4405d6cd0ebmr5683245e9.29.1744789737934; Wed, 16 Apr 2025 00:48:57 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:6ebc:6ce:770e:95f9]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-44043529fdbsm26929035e9.1.2025.04.16.00.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Apr 2025 00:48:57 -0700 (PDT) From: Jerome Forissier To: U-Boot mailing list Cc: Jerome Forissier , Adriano Cordova , 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 v3 0/2] ut: fix print_guid() and enable UNIT_TEST for qemu_arm64 Date: Wed, 16 Apr 2025 09:48:19 +0200 Message-ID: <20250416074839.1267396-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 v3: 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 | 9 ++++----- test/common/print.c | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-)