From: Kent Gibson <warthog618@gmail.com>
To: linux-gpio@vger.kernel.org, brgl@bgdev.pl
Cc: Kent Gibson <warthog618@gmail.com>
Subject: [libgpiod][PATCH 0/2] bindings: python: fix running tests via Makefile
Date: Sun, 26 May 2024 19:32:32 +0800 [thread overview]
Message-ID: <20240526113234.253859-1-warthog618@gmail.com> (raw)
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
next reply other threads:[~2024-05-26 11:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-26 11:32 Kent Gibson [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240526113234.253859-1-warthog618@gmail.com \
--to=warthog618@gmail.com \
--cc=brgl@bgdev.pl \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.