mbox series

[libgpiod,0/2] bindings: python: fix running tests via Makefile

Message ID 20240526113234.253859-1-warthog618@gmail.com
Headers show
Series bindings: python: fix running tests via Makefile | expand

Message

Kent Gibson May 26, 2024, 11:32 a.m. UTC
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