bindings: python: fix the GPIOD_WITH_TESTS build flag
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 30 Nov 2022 12:42:30 +0000 (13:42 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 7 Dec 2022 08:54:19 +0000 (09:54 +0100)
commit366d82545efff8f671e2bc86d3e0c0aa789543bb
tree3b11aced2e8e879c31618b8b9fec7969e2675c03
parent242d88b7fe5949e7a15f63e05b0b2cd7427e064f
bindings: python: fix the GPIOD_WITH_TESTS build flag

Currently in order to disable test the variable needs to be explicitly
set to GPIOD_WITH_TESTS= in the environment or setup.py will crash.

Assume tests should not be built if the variable is not set at all.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/python/setup.py