[PATCH v3 0/3] a few test.py improvements
David Lechner
dlechner at baylibre.com
Mon Jan 5 17:49:12 CET 2026
While trying to run the test suite for the first time, I encountered a
few minor issues. Here are a few patches to address them.
---
Changes in v3:
- Picked up review/test tags.
- Drop `is not None` in Python code.
- Link to v2: https://lore.kernel.org/r/20251217-a-few-test-py-improvements-v2-0-e1f91e3bf551@baylibre.com
Changes in v2:
- Dropped patch adding setuptools to test/py/requirements.txt
- New patch to add setuptools to scripts/dtc/pylibfdt/requirements.txt
instead.
- Changed test.py patch to set ubconfig to None rather than checking for
its existence in globals().
- Link to v1: https://lore.kernel.org/r/20251121-a-few-test-py-improvements-v1-0-bacb4148fb0d@baylibre.com
---
David Lechner (3):
test.py: check ubconfig exists before using it
doc: pytest: mention additional requirements for venv
pylibfdt: add requirements.txt for setuptools
doc/develop/pytest/usage.rst | 4 ++++
scripts/dtc/pylibfdt/requirements.txt | 1 +
test/py/conftest.py | 5 +++--
3 files changed, 8 insertions(+), 2 deletions(-)
---
base-commit: 9579616d2348e206fc5f0a04cc3348e8e89d0a4c
change-id: 20251121-a-few-test-py-improvements-b91babfc3e05
Best regards,
--
David Lechner <dlechner at baylibre.com>
More information about the U-Boot
mailing list