From: Kent Gibson <warthog618@gmail.com>
To: linux-gpio@vger.kernel.org, brgl@bgdev.pl
Cc: Kent Gibson <warthog618@gmail.com>
Subject: [libgpiod][PATCH 1/2] bindings: python: add Testing section to README
Date: Sun, 26 May 2024 19:32:33 +0800 [thread overview]
Message-ID: <20240526113234.253859-2-warthog618@gmail.com> (raw)
In-Reply-To: <20240526113234.253859-1-warthog618@gmail.com>
Add a section describing how to run the test suite.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
bindings/python/README.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/bindings/python/README.md b/bindings/python/README.md
index 325c63d..cb5cee6 100644
--- a/bindings/python/README.md
+++ b/bindings/python/README.md
@@ -102,3 +102,13 @@ with gpiod.request_lines(
time.sleep(1)
```
+## Testing
+
+The test suite for the python bindings can be run by calling:
+
+```
+make python-tests-run
+```
+
+from the `libgpiod/bindings/python` directory as root (necessary to be able
+to create the **gpio-sims** used for testing).
--
2.39.2
next prev parent reply other threads:[~2024-05-26 11:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-26 11:32 [libgpiod][PATCH 0/2] bindings: python: fix running tests via Makefile Kent Gibson
2024-05-26 11:32 ` Kent Gibson [this message]
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-2-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.