[PATCH] test: make tests should use pytest -ra

Simon Glass sjg at chromium.org
Mon Apr 20 01:38:22 CEST 2020


On Sat, 18 Apr 2020 at 06:09, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> By passing -ra to pytest we get a summary indicating which tests failed
> and why tests were skipped.
>
> Here is an example output:
>
> ======================== short test summary info =========================
> SKIPPED [1] test/py/tests/test_efi_loader.py:81: No DHCP server available
> SKIPPED [1] test/py/tests/test_efi_loader.py:100: No static network
> configuration is defined
> SKIPPED [2] test/py/tests/test_efi_loader.py:115: Network not initialized
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  test/run | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>

This is really noisy - I get lots of extra output. Can we make this an option?

Regards,
Simon


More information about the U-Boot mailing list