[PATCH v7 2/4] test: qemu: add qfw sandbox driver, dm tests, qemu tests

Bin Meng bmeng.cn at gmail.com
Fri Mar 19 05:48:50 CET 2021


On Fri, Mar 19, 2021 at 11:14 AM Asherah Connor <ashe at kivikakk.ee> wrote:
>
> A sandbox driver and test are added for the qfw uclass, and a test in
> QEMU added for qfw functionality to confirm it doesn't break in real
> world use.
>
> Signed-off-by: Asherah Connor <ashe at kivikakk.ee>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> ---
>
> Changes in v7:
> * Make the qfw tests agnostic to running against a real QEMU instance or
>   in the sandbox.
> * Remove CONFIG_CMD_QFW=y from sandbox_spl_defconfig, per trini's
>   request.
>
>  configs/sandbox_spl_defconfig |   1 -
>  drivers/misc/Makefile         |   1 +
>  drivers/misc/qfw_sandbox.c    | 128 ++++++++++++++++++++++++++++++++++
>  test/dm/Makefile              |   1 +
>  test/dm/qfw.c                 |  42 +++++++++++
>  test/py/tests/test_qfw.py     |  26 +++++++
>  6 files changed, 198 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/misc/qfw_sandbox.c
>  create mode 100644 test/dm/qfw.c
>  create mode 100644 test/py/tests/test_qfw.py
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list