From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Jonas Rebmann <jre@pengutronix.de>,
Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] test: py: fit: don't remove generated FIT again from testfs
Date: Wed, 15 Oct 2025 11:10:11 +0200 [thread overview]
Message-ID: <20251015091012.2299395-1-a.fatoum@pengutronix.de> (raw)
By leaving it lingering around, it's easier to run a pytest --interactive
session afterwards and debug what might have broken the test run
preceding it.
Suggested-by: Jonas Rebmann <jre@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
test/py/test_fit.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/test/py/test_fit.py b/test/py/test_fit.py
index 5620996e9dbb..7a0b9f2762d5 100644
--- a/test/py/test_fit.py
+++ b/test/py/test_fit.py
@@ -52,9 +52,6 @@ def fit_testdata(barebox_config, testfs):
except FileNotFoundError as e:
pytest.skip(f"Skip dm tests due to missing dependency: {e}")
- yield
-
- os.remove(outfile)
def test_fit(barebox, target, testfs, fit_testdata):
_, _, returncode = barebox.run(f"ls {fit_name('gzipped')}")
--
2.47.3
next reply other threads:[~2025-10-15 9:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-15 9:10 Ahmad Fatoum [this message]
2025-10-20 10:50 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251015091012.2299395-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=jre@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox