From patchwork Mon Nov 3 16:26:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamel Bouhara X-Patchwork-Id: 73532 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11461CCFA0C for ; Mon, 3 Nov 2025 16:27:24 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1636.1762187238892233230 for ; Mon, 03 Nov 2025 08:27:19 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=UAtFSF78; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: kamel.bouhara@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 8B3B24E414D6; Mon, 3 Nov 2025 16:27:17 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 5728A60628; Mon, 3 Nov 2025 16:27:17 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2BBAA10B5017B; Mon, 3 Nov 2025 17:27:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1762187236; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=eWgtoRjWSAaoBvj6m3LYbGt+GNTun5g+YxTitHTXhpo=; b=UAtFSF78DBFrewEjqO+/EJ2yfvLNyUOYk7fp6WJc5hnqIX99ez5uQaUX6FZHv+A0iMJ967 mDx5PJ77OUiFyFRCcQBd5KBH2NHh+xYryM4BZP8AM5u1BPA5Fy7wU15FAOC2rXbjhzVLXJ BJ3QU8MHP/9SkTyqRgK+Tj2B+JQmuvQTK1okk0MPf1OrkQLCO46NIjmhyIgCS+wxZmy3r8 uXqsKj0u9fFeTwVSrc/Vuxut6g/XjQzvA37w6YJkdi+1nUfY7hotyZWWgowRhWOKQ1DqBm NMgHLekODtm4krhYZ608W/n2w0ljeTOIL/+Az1dfLujLd83IvXQSHdYUD3WA3Q== From: Kamel Bouhara To: openembedded-core@lists.openembedded.org Cc: JPEWhacker@gmail.com, thomas.petazzoni@bootlin.com, Miquel Raynal , mathieu.dubois-briand@bootlin.com, antonin.godard@bootlin.com, Pascal Eberhard , Richard Purdie Subject: [scarthgap v3 09/16] selftest/spdx: Fix for SPDX_VERSION addition Date: Mon, 3 Nov 2025 17:26:35 +0100 Message-ID: <20251103162654.1714239-10-kamel.bouhara@bootlin.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251103162654.1714239-1-kamel.bouhara@bootlin.com> References: <20251103162654.1714239-1-kamel.bouhara@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 03 Nov 2025 16:27:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/225676 From: Richard Purdie Update the test for the addition of SPDX_VERSION to the deploy path. Signed-off-by: Richard Purdie (cherry picked from commit 055e8c21908127722abad9e992d6408d8697a119) --- meta/lib/oeqa/selftest/cases/spdx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/spdx.py b/meta/lib/oeqa/selftest/cases/spdx.py index 05fc4e390b..7685a81e7f 100644 --- a/meta/lib/oeqa/selftest/cases/spdx.py +++ b/meta/lib/oeqa/selftest/cases/spdx.py @@ -25,10 +25,11 @@ INHERIT += "create-spdx" deploy_dir = get_bb_var("DEPLOY_DIR") machine_var = get_bb_var("MACHINE") + spdx_version = get_bb_var("SPDX_VERSION") # qemux86-64 creates the directory qemux86_64 machine_dir = machine_var.replace("-", "_") - full_file_path = os.path.join(deploy_dir, "spdx", machine_dir, high_level_dir, spdx_file) + full_file_path = os.path.join(deploy_dir, "spdx", spdx_version, machine_dir, high_level_dir, spdx_file) try: os.remove(full_file_path)