From patchwork Tue Apr 15 12:53:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 881208 Delivered-To: patch@linaro.org Received: by 2002:adf:f902:0:b0:38f:210b:807b with SMTP id b2csp427478wrr; Tue, 15 Apr 2025 05:54:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUdocex47cyU0+JoVh4vIHyEiKoZeCxxNnXvaw+hJ0MJ6bpHf3VfyoAn6MHT3ud2zqczrZ+jg==@linaro.org X-Google-Smtp-Source: AGHT+IFZ9KejfMGQQu7v7ER4sKkQGEU0iWlkZcNtffNn5oAF3E3APth2fXv1C6QMcxIyW4qFFyMz X-Received: by 2002:a05:6122:354a:b0:528:bd71:8932 with SMTP id 71dfb90a1353d-528bd718e85mr10594692e0c.11.1744721647146; Tue, 15 Apr 2025 05:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1744721647; cv=none; d=google.com; s=arc-20240605; b=Is4EAbmhGQx9zg9nnVC3jjYhRTuLMDhuoH2IqncsD9yHqwTowB9o7GvgUM4Xr5pSDX N7O+yn0Xaq+xaUA1LaPKlaCGcJeihNkc/tm/Bg9qTG9fjfUUTCVg+g9ey1y+q0DakaX9 4duHI+H1jrCfEWQ43IWEvhhg4EPG/geQYv39EScm92JLVzfS4v83DT4f0wUe2sgN3uqG cgB9Tv2qtkESqXKLKoHm6ZMiBgX+66uFwFlLnjEwWCvUHpE3euFsiSeruVkBR3uIqmho bSeBFpo77ztGp6QBTmkh/7cKOJOoxu/DFH2b+GR2FV5+G4dGXlyijKTPk3OeGHOAQ9oM C/hQ== 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=+JXTWeKo37DgleHbE9xQhU6ZlwHefxgTdQhwA6K9Or8=; fh=NCZTYN69SXeXT5F+IdXi7tK+CKXgA8/po6/wU4pcRQw=; b=OUqSpxE+266LoOoXQzaF4F/HZC9slMW/7vOL/np6wefvMfR6j75T/LDRiF2TYBUZbG 1OPih8PXFTaCqB60ksm5lq+Q/qXzTFR5CXuJPqDSXC3My03Kjw+ruzrDz3abkH1rAcJ8 UWixegE2roAxSO4vc9VcNpia13LizPikFL+9HWLT5wlZ+t2NR568wGSy/ox7lMRMkdXn AdRLGeTKPUizv3DMEalj9dCGthll6UR1AE0cHNpzpV/sw3b3yfRzby1roEJS3CZdTZB+ ub+tI2uLamAzi70oByJSpadgKGPE7mWTkFpW7D59y7iBM1EBHM8AvhMyuI64lJOHkJmL MDNQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ignj3efn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 71dfb90a1353d-527abd49bd9si4624777e0c.4.2025.04.15.05.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Apr 2025 05:54:07 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ignj3efn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 D27DE82A33; Tue, 15 Apr 2025 14:54:05 +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="ignj3efn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5D94282AF6; Tue, 15 Apr 2025 14:54:04 +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-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 4281E8214D for ; Tue, 15 Apr 2025 14:54:02 +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-wr1-x42b.google.com with SMTP id ffacd0b85a97d-399737f4fa4so3189938f8f.0 for ; Tue, 15 Apr 2025 05:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1744721641; x=1745326441; 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=+JXTWeKo37DgleHbE9xQhU6ZlwHefxgTdQhwA6K9Or8=; b=ignj3efnHw506Ya3R15mdN/LlBRL0c8hozabifI00XdB0M9OIKiRmmY+5FNjMyqEqA zfDihfbGPk7VI5Q56kcHNTiGRDMbOEaSO9zSAMLbSYIMCtd/kk2wSAMezWIltsOjzkud +IsexxTKdX8vDt8M7xLJHVTujSvuJQwidBtxXj/ZZdwtuoSplSv0zvFSccW6HMigE7fD n9raRQ40MXJqG8WxT8PxNYToaAmu5uhJlrLCjNe3DJWRWgL4wQYR1vrWSw1HBN3KZv41 qtbVhzD8QjqdWHy03epfIDQKkM7UAfur4r3Bm0vFGGPaIrt1xXi9E0PJmlRTuKV8NbkB UhiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744721641; x=1745326441; 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=+JXTWeKo37DgleHbE9xQhU6ZlwHefxgTdQhwA6K9Or8=; b=WCFLhoKuR9sG9QRndzMXjQRzNgNZpBU2J6AchNETsBhsHUmfNPYe8Tns3rITI8v3on WlOMviJe3E4AecyArt3a6nhC/e0dy+RXp2nOjLuDJ/a6yxrElxAXEoXWPN3MGDrOg8iO 4p/LiiaWEg5iL4ZOyLAWZz31O+1vbLYXiCQOGlxPLhDna3mlkh5MGTb4xir74dEe6LPw Fmpe+bgd/ipzZmHbmseScqzXyzPRTwDPrUJeux+pagZDhCS0h2Yy5NSO6W5cfrb9p0F3 bK6CzV5eA5Wx4GrGDBneA3Nwa1JO90QuuyY5lo/xKSzs/bNs4yXEqJnfrgfdeCdt8NWc e3eQ== X-Gm-Message-State: AOJu0YyPVs97DaHG0OGq5tZtdaLYMbp/QjBWeeSYlcUCGb9wnOz0rJvO nDoaBz0duHlgV5wK/IIIXwuptgKNxoeiQEFsf5uTSHSBRPhQhBjVwkARU+A8AvN7ztnasEQSJBP Rqj0= X-Gm-Gg: ASbGncvV2bF8LAjDxsB42gW4IKU8QPy7SicqJVSc7vLtY2YBtT9tQn9ZxeHxg+BWPEK 7ynR7Q0Q2LnqqWEaKQczC3CLwID4t4wJ/ZjJm7RAr4Q9CeiMmFx2ajhVkqBGoIuvrs3vScnAcX5 N4bpDLAlGbIYM9b22Jb5YVnE9PirriW48BzUp8r3pRsyOkm62RAJYFAq1hnB3qMOV+Gtmz1RPqm JxsieRw064pFJuBROIBr9NafQcgw4sdVyTNUh/r7NbQw9Q6s85SPIt91Ws0fzZ4qFL8tAXPBxbq OmGG2XPvG7QHhfh5q7umvIS0UObIb7oqSiX6GEVhaZrtMlZJ X-Received: by 2002:a5d:588a:0:b0:39c:223f:2770 with SMTP id ffacd0b85a97d-39ea52035e1mr13922078f8f.15.1744721641528; Tue, 15 Apr 2025 05:54:01 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:6ebc:6ce:770e:95f9]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43f233c8224sm205921315e9.22.2025.04.15.05.54.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Apr 2025 05:54:01 -0700 (PDT) From: Jerome Forissier To: U-Boot mailing list Cc: Jerome Forissier , Heinrich Schuchardt , Ilias Apalodimas , Raymond Mao , Simon Glass , Tom Rini , Tuomas Tynkkynen Subject: [PATCH v1 0/2] ut: fix print_guid() and enable UNIT_TEST for qemu_arm64 Date: Tue, 15 Apr 2025 14:53:30 +0200 Message-ID: <20250415125345.427420-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). Jerome Forissier (2): test: fix print_guid() qemu-arm64: enable UNIT_TEST configs/qemu_arm64_defconfig | 1 + test/common/print.c | 2 ++ 2 files changed, 3 insertions(+)