projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27fe101
)
bindings: python: add Testing section to README
author
Kent Gibson
<warthog618@gmail.com>
Sun, 26 May 2024 11:32:33 +0000
(19:32 +0800)
committer
Bartosz Golaszewski
<bartosz.golaszewski@linaro.org>
Tue, 28 May 2024 09:13:15 +0000
(11:13 +0200)
Add a section describing how to run the test suite.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Link:
https://lore.kernel.org/r/20240526113234.253859-2-warthog618@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/python/README.md
patch
|
blob
|
history
diff --git
a/bindings/python/README.md
b/bindings/python/README.md
index 325c63d03891b7f58b5f021df226b1862257244c..cb5cee62cc46980ce2484bc85d8686ffb8622e59 100644
(file)
--- 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).