[PATCH] test: py: fit: don't remove generated FIT again from testfs
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Oct 15 02:10:11 PDT 2025
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 at pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum at 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
More information about the barebox
mailing list