[PATCH v3 7/8] test/py: add tests for the button commands

Simon Glass sjg at chromium.org
Tue Jul 28 20:57:11 CEST 2020


Adds tests for the button commands.

Reviewed-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
---
Changelog:
v3:
- update compatible to "gpio-keys"
v2:
- no change (button uclass test is added in another commit

 arch/sandbox/dts/test.dts    | 14 ++++++++++++++
 test/py/tests/test_button.py | 19 +++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 test/py/tests/test_button.py

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list