From: Kent Gibson Date: Sun, 26 May 2024 11:32:33 +0000 (+0800) Subject: bindings: python: add Testing section to README X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8635780c1c21d7833c960d49a796be5553b3f624;p=qemu-gpiodev%2Flibgpiod.git 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 --- 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).