From patchwork Fri Dec 4 17:41:04 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 107349 Received: from mail-vk1-f182.google.com (mail-vk1-f182.google.com [209.85.221.182]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.2608.1796406078335529031 for ; Fri, 04 Dec 2026 09:41:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@baylibre.com header.s=google header.b=O+jwaeH3; spf=pass (domain: baylibre.com, ip: 209.85.221.182, mailfrom: tgamblin@baylibre.com) Received: by mail-vk1-f182.google.com with SMTP id 71dfb90a1353d-5f0102a9f51so620317e0c.3 for ; Fri, 04 Dec 2026 09:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1796406077; x=1797010877; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=/8UBbDswYma5LlXUJPvSuBXVc3WkKeRe+DCMkWxtE0o=; b=O+jwaeH3dny7mzaGg1g+fecowO/9hpsXJ408frebf81LjCV9PGebYPVy4CH9T2Zu7F /pOlTLaL77GamfBkSUPxSZkGFlYYN5srEiyBSqM0aP8QvcaYwwtqL4IjvY99/Kdh2M2I 509bGeYuGSmu20lPBg38tNjd8aSLOIY9lfls+UEhSbtvGWakDG9IxbuPgqe56D0as982 NnGFJDdBbR1kqNPxRHIIXuezva2tErhFeZ+KKAGjVlJcLTZWVQF+ETipcnqFMGYqW3J4 UeDUFtiaTQEtD4UNkLDyrx7fM28MOJjLoh07kP4UOm7TI0GeR5VLApORGwXoiiZ2CP7i rDLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796406077; x=1797010877; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-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Mto1rEyoC30COMawyrSPtuDdOCkGKQi71A/0Uy6BT Q1DqoFW1oczwLPn70U9rTf8VwnMPEibyX4laqEFvkXFT/Vy8apJfqC4+H19p9PB5LaucfrEt6Rk wK9Ef69EnxgcQb6U6vCVEoWi7l+7nbFsDam3v2TJFZincKHKH8miFrA78IncCfrVgpGxQyUN6Qv SHeQGq9MTxg== X-Received: by 2002:a05:6122:1d55:b0:5d0:1207:b693 with SMTP id 71dfb90a1353d-5f01cdfcffamr2980812e0c.1.1796406077398; Fri, 04 Dec 2026 09:41:17 -0800 (PST) Return-Path: Received: from megalith.oryx-coho.ts.net ([2001:1970:3847:e000:e8bd:ca0f:c232:9f10]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5f01d3bf4d6sm1398046e0c.10.2026.12.04.09.41.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 09:41:14 -0800 (PST) From: Trevor Gamblin To: openembedded-core@lists.openembedded.org Subject: [OE-core][PATCH 3/6] scripts/patchtest: skip .testresult files in a directory Date: Fri, 4 Dec 2026 12:41:04 -0500 Message-ID: <20261204174107.1295971-4-tgamblin@baylibre.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204174107.1295971-1-tgamblin@baylibre.com> References: <20261204174107.1295971-1-tgamblin@baylibre.com> MIME-Version: 1.0 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 ; Fri, 04 Dec 2026 17:41:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/252011 With --log-results, each patch's results are written next to it as .testresult. Testing the same directory again then treated those files as patches, and printed an error for each. Leave them out of the patch list. AI-Generated: Uses Claude Code Opus 5.5 Signed-off-by: Trevor Gamblin --- scripts/patchtest | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/patchtest b/scripts/patchtest index 4bed3c6d88..4c74056065 100755 --- a/scripts/patchtest +++ b/scripts/patchtest @@ -187,7 +187,10 @@ def main(): return 1 if os.path.isdir(patch_path): - patch_list = [os.path.join(patch_path, filename) for filename in sorted(os.listdir(patch_path))] + # Skip results logged by an earlier run with --log-results + patch_list = [os.path.join(patch_path, filename) + for filename in sorted(os.listdir(patch_path)) + if not filename.endswith('.testresult')] else: patch_list = [patch_path]