From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.3742.1792488839113733863 for ; Tue, 20 Oct 2026 02:33:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google header.b=snlw0PDj; spf=pass (domain: smile.fr, ip: 209.85.128.41, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4a01933b584so21395555e9.0 for ; Tue, 20 Oct 2026 02:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google; t=1792488837; x=1793093637; darn=lists.openembedded.org; h=in-reply-to:references:to:from:subject:message-id:date:content-type :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to:content-type; bh=eIZak+HyIsuBLMyNQRMn8jfpdvNZbal7Rs5RkF+adAk=; b=snlw0PDjk/H5J2xGubqQacYIW1OXmexAeCBwaSJ477+qaGdwdvg7m2QW+KYso+Oiws 30BKh8r26icqj6wKJvaGjs89T3I1/0c+pu5j7MRXoUrv5BvIEFxOYZJzQf8GWydwFPGv RHpbQImsL51auCjA6QAFpxdlutSuZ9va4fqBs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792488837; x=1793093637; h=in-reply-to:references:to:from:subject:message-id:date:content-type :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to:content-type; bh=eIZak+HyIsuBLMyNQRMn8jfpdvNZbal7Rs5RkF+adAk=; b=cIpId2j++k5j+XRij2NdQXLuI/5yThc1YE2J3eIgnV2HidtyRlzou8Qvue9vGrfkOO Z4ay4DvoOpGKYkM+PVz0hqulSa92/qy5zI14CJEKrzP6LGRn6G785KNOpqRjisX8bTfu uqIy164gdS+ga9pvpjHtxKSWIlLF14Hnf5zfVhozYfbpEx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:f377:5c6b with SMTP id 5b1f17b1804b1-4a1f3775fa9mr31436145e9.7.1792488837100; Tue, 20 Oct 2026 02:33:57 -0700 (PDT) Return-Path: Received: from localhost (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a1f2cd482bsm57736445e9.12.2026.10.20.02.33.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Oct 2026 02:33:56 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 20 Oct 2026 11:33:56 +0200 Message-Id: Subject: Re: [wrynose][PATCH] oeqa/selftest/devtool: handle existing patch directories in recipe tests From: "Yoann Congal" To: "Ayoub Zaki" , X-Mailer: aerc 0.20.0 References: <20261019125810.492968-1-ayoub.zaki@embetrix.com> In-Reply-To: <20261019125810.492968-1-ayoub.zaki@embetrix.com> List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Tue, 20 Oct 2026 09:34:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/248266 On Mon Oct 19, 2026 at 2:58 PM CEST, Ayoub Zaki wrote: > Recipe update and finish tests assume generated patches live in a > directory named after the recipe. Existing files/ or versioned directorie= s > can instead cause staging failures and leave generated files for later > tests. Cleanup can also delete tracked patches that should be preserved. > > Share recipe-directory cleanup that resets the index, removes untracked > files and restores tracked files. Stage recipe changes and check generate= d > patch filenames without assuming a subdirectory, including the > --initial-rev cases. Keep paths that describe known fixture contents. > > Validated with devtool.DevtoolUpdateTests.test_devtool_update_recipe and > isolated staging and cleanup checks on both target branches. > > AI-Generated: Uses OpenAI Codex > Signed-off-by: Ayoub Zaki > --- > meta/lib/oeqa/selftest/cases/devtool.py | 65 +++++++++++++------------ > 1 file changed, 35 insertions(+), 30 deletions(-) Hello, This needs to be sent to master first. Then, blacksail. Regards, --=20 Yoann Congal Smile ECS