diff mbox series

[libgpiod,1/2] bindings: python: add Testing section to README

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

Commit Message

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

Patch

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).