* [PATCH] test: py: fit: don't remove generated FIT again from testfs
@ 2025-10-15 9:10 Ahmad Fatoum
2025-10-20 10:50 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2025-10-15 9:10 UTC (permalink / raw)
To: barebox; +Cc: Jonas Rebmann, Ahmad Fatoum
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] test: py: fit: don't remove generated FIT again from testfs
2025-10-15 9:10 [PATCH] test: py: fit: don't remove generated FIT again from testfs Ahmad Fatoum
@ 2025-10-20 10:50 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-10-20 10:50 UTC (permalink / raw)
To: barebox, Ahmad Fatoum; +Cc: Jonas Rebmann
On Wed, 15 Oct 2025 11:10:11 +0200, Ahmad Fatoum wrote:
> 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.
>
>
Applied, thanks!
[1/1] test: py: fit: don't remove generated FIT again from testfs
https://git.pengutronix.de/cgit/barebox/commit/?id=a500f98702d7 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-20 12:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-15 9:10 [PATCH] test: py: fit: don't remove generated FIT again from testfs Ahmad Fatoum
2025-10-20 10:50 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox