U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] a few test.py improvements
@ 2025-12-17 18:42 David Lechner
  2025-12-17 18:42 ` [PATCH v2 1/3] test.py: check ubconfig exists before using it David Lechner
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: David Lechner @ 2025-12-17 18:42 UTC (permalink / raw)
  To: Tom Rini
  Cc: Marek Vasut, Simon Glass, Mattijs Korpershoek, Jerome Forissier,
	Heinrich Schuchardt, Julien Stephan, u-boot, David Lechner

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 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: a333d9e59f6675c9541c34643f334dbf50898647
change-id: 20251121-a-few-test-py-improvements-b91babfc3e05

Best regards,
-- 
David Lechner <dlechner@baylibre.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-12-27 14:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-17 18:42 [PATCH v2 0/3] a few test.py improvements David Lechner
2025-12-17 18:42 ` [PATCH v2 1/3] test.py: check ubconfig exists before using it David Lechner
2025-12-27 14:52   ` Simon Glass
2025-12-17 18:42 ` [PATCH v2 2/3] doc: pytest: mention additional requirements for venv David Lechner
2025-12-27 14:52   ` Simon Glass
2025-12-17 18:42 ` [PATCH v2 3/3] pylibfdt: add requirements.txt for setuptools David Lechner
2025-12-27 14:52   ` Simon Glass
2025-12-18 10:59 ` [PATCH v2 0/3] a few test.py improvements Mattijs Korpershoek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox