From 8635780c1c21d7833c960d49a796be5553b3f624 Mon Sep 17 00:00:00 2001 From: Kent Gibson Date: Sun, 26 May 2024 19:32:33 +0800 Subject: [PATCH] bindings: python: add Testing section to README Add a section describing how to run the test suite. Signed-off-by: Kent Gibson Link: https://lore.kernel.org/r/20240526113234.253859-2-warthog618@gmail.com Signed-off-by: Bartosz Golaszewski --- 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.30.2