Skip to content

bindings: python: fix running tests via Makefile

Kent Gibson linux-gpio 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bindings: python: add Testing section to READMEbindings/python/README.md+10 -00 replies
2/2bindings: python: fix python-tests-run make targetbindings/python/Makefile.am+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [libgpiod][PATCH 0/2] bindings: python: fix running tests via Makefile

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