All of lore.kernel.org
 help / color / mirror / Atom feed
* [libgpiod][PATCH 0/2] bindings: python: fix running tests via Makefile
@ 2024-05-26 11:32 Kent Gibson
  2024-05-26 11:32 ` [libgpiod][PATCH 1/2] bindings: python: add Testing section to README Kent Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kent Gibson @ 2024-05-26 11:32 UTC (permalink / raw)
  To: linux-gpio, brgl; +Cc: Kent Gibson

Recently I couldn't work out how to run the test suite for the Python
bindings.  There were two problems, the make target did not run the
tests correctly, and the tests need to be run as root.  This series
fixes the Makefile so the tests can be run via the make target, and
documents how to call it as it isn't totally obvious.

Patch 1 adds a Testing section to the README to clarify how to run the
tests.

Patch 2 fixes the python-tests-run make target so it will run the tests
as intended.

Kent Gibson (2):
  bindings: python: add Testing section to README
  bindings: python: fix python-tests-run make target

 bindings/python/Makefile.am |  6 +++---
 bindings/python/README.md   | 10 ++++++++++
 2 files changed, 13 insertions(+), 3 deletions(-)

--
2.39.2


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

end of thread, other threads:[~2024-05-28  9:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-26 11:32 [libgpiod][PATCH 0/2] bindings: python: fix running tests via Makefile Kent Gibson
2024-05-26 11:32 ` [libgpiod][PATCH 1/2] bindings: python: add Testing section to README Kent Gibson
2024-05-26 11:32 ` [libgpiod][PATCH 2/2] bindings: python: fix python-tests-run make target Kent Gibson
2024-05-28  9:14 ` [libgpiod][PATCH 0/2] bindings: python: fix running tests via Makefile Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.