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

Simon Glass sjg at chromium.org
Wed Jul 15 03:05:48 CEST 2020


Hi Philippe,

On Mon, 13 Jul 2020 at 06:56, Philippe Reynes
<philippe.reynes at softathome.com> wrote:
>
> Adds tests for the button commands.
>
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
>  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

Reviewed-by: Simon Glass <sjg at chromium.org>

But please also add a test/dm/button.c test that tests the uclass and
sandbox device.

Regards,
Simon


More information about the U-Boot mailing list