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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add a section describing how to run the test suite.

Signed-off-by: Kent Gibson <warthog618@xxxxxxxxx>
---
 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





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux