| Message ID | 20260109231151.4056804-2-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768000341; bh=dbGYkRZ2mYVou8/XFb3RE9qbBECAph5Nh8akNkbIfwY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=gHLlGKBEVCgNh/dICUsVCkmOXLnc8rxyOheGnF4gl24tDLfWu43n2EVi8VNw7a+1/ INzOfP0ZCP/tzV3oezVdpRPNNREAO1MKW5xUHPkCXtYM3G3h91kBA+sCoWscVWP1xz s1L+VJVWozMhhXbL97ojxePb470Rw3Jnb8TsSKFEVgsQjtHFymrC0rv/6IuX/IWMlI W9wD+qFmqDcHcHZLtfB2RI+50EB12na3kp/2fXoaENwX55kVtonbACcjhPgM5GWu+O Qxajw8MKSDCLN3kHnbzEovA6/nk9kVBY77cPuN2csKpoq0zQen4WAPqqUrs3JMigoF zPGEgXGuXw7pw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A142869218 for <u-boot-concept@u-boot.org>; Fri, 9 Jan 2026 16:12:21 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id jCKjaNA72iEO for <u-boot-concept@u-boot.org>; Fri, 9 Jan 2026 16:12:21 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768000341; bh=dbGYkRZ2mYVou8/XFb3RE9qbBECAph5Nh8akNkbIfwY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=gHLlGKBEVCgNh/dICUsVCkmOXLnc8rxyOheGnF4gl24tDLfWu43n2EVi8VNw7a+1/ INzOfP0ZCP/tzV3oezVdpRPNNREAO1MKW5xUHPkCXtYM3G3h91kBA+sCoWscVWP1xz s1L+VJVWozMhhXbL97ojxePb470Rw3Jnb8TsSKFEVgsQjtHFymrC0rv/6IuX/IWMlI W9wD+qFmqDcHcHZLtfB2RI+50EB12na3kp/2fXoaENwX55kVtonbACcjhPgM5GWu+O Qxajw8MKSDCLN3kHnbzEovA6/nk9kVBY77cPuN2csKpoq0zQen4WAPqqUrs3JMigoF zPGEgXGuXw7pw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8EFA669235 for <u-boot-concept@u-boot.org>; Fri, 9 Jan 2026 16:12:21 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768000339; bh=Z0hkHXl07MsQoOZfJWYaj+l/zX1cjHjALlLcuL7pCPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SbCjU7udUYUQl47cv7YjWlMGAfZrZocCLprVolimODWVlDsIYNkUogzPczmfthhNQ YCw1ufNqzkRliDqTOZRpOe/qyC4IR3atre98JEYWZbmvPlYKjipoOAqIiITOHdNvlR z0ocj9xUynIdMFWyYnaILkGwJkAOtHeiTOdxfDZZZAXXIMgJ9ko0MZ6CcRjBH2iCDg g9orQgMO5y6L5fOPGHU158SHjB0T4RGyGVOhAK1ppwSdCWBVmVW8Zy2ionWNHkCNvu i5z5lcYXKdYa4CxlzTBDZa+kRto4rGi8zjseE1t66Y+7mIocnpvYB31RIaMU8knzRq SuOcJkBPND3rA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 74E2969218; Fri, 9 Jan 2026 16:12:19 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id pAIvCJZg4qqr; Fri, 9 Jan 2026 16:12:19 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768000335; bh=rZZ7ARcfqdml00vsFSJxRySTn0o0at8ixvyJVsI1Yww=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ne+w0TH2YqDJC4CspXrP9n66LOLb8phho2MbL2E2zBaJ2nxyWp39Gr/psTg0Wpxet FkOW83vNEUfodW9Y+p2QJz4P5BJnX6EbUw7JnK08z8A8vlQGBvzeEqpvz41qgZYjG4 A9+cQoIsuFvWWjw90S6unW3BEPRkU3epGEgxE82krYVquw0aW+4XKcp/5AUhp7mJ2S mWiahkBn19zeOd7v4mmzJWJSTbWQUIS24U4lPGGKLXaOsfxhGPQjh6043kq4RUkyYy xPUWoXuCP6gALgMmbK8yvCVcIsKUyekfMNrm9uhzVK5AG1Y7RyA9O4CExiCL77Ts2Y uRNss+DX6VVpA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 1E32C69206; Fri, 9 Jan 2026 16:12:15 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Fri, 9 Jan 2026 16:11:10 -0700 Message-ID: <20260109231151.4056804-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109231151.4056804-1-sjg@u-boot.org> References: <20260109231151.4056804-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 74ZPTSSFCAXI5BE3MWHRAOXHDT2WW3CH X-Message-ID-Hash: 74ZPTSSFCAXI5BE3MWHRAOXHDT2WW3CH X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <simon.glass@canonical.com>, "Claude Opus 4 . 5" <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 01/32] test: pxe: Preserve filesystem images when persist is enabled List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/74ZPTSSFCAXI5BE3MWHRAOXHDT2WW3CH/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
boot: pxe: Refactor into separate load/setup phases
|
|
Commit Message
Simon Glass
Jan. 9, 2026, 11:11 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> Skip cleanup of filesystem images in the pxe_fdtdir_image and pxe_error_image fixtures when the persist option is set. This allows inspection of the test files after a test run for debugging purposes. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- test/py/tests/test_pxe_parser.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/test/py/tests/test_pxe_parser.py b/test/py/tests/test_pxe_parser.py index de01f219244..d52bf3e6b50 100644 --- a/test/py/tests/test_pxe_parser.py +++ b/test/py/tests/test_pxe_parser.py @@ -325,7 +325,8 @@ def pxe_fdtdir_image(u_boot_config): yield fsh.fs_img, cfg_path - fsh.cleanup() + if not u_boot_config.persist: + fsh.cleanup() @pytest.fixture @@ -385,7 +386,8 @@ def pxe_error_image(u_boot_config): yield fsh.fs_img, cfg_path - fsh.cleanup() + if not u_boot_config.persist: + fsh.cleanup() @pytest.mark.boardspec('sandbox')