[U-Boot] [PATCH 1/2] doc: driver-model: Update dm tests run using test.py

Stephen Warren swarren at wwwdotorg.org
Wed Mar 16 17:27:40 CET 2016


On 03/16/2016 06:00 AM, Jagan Teki wrote:
> Since all the tests are implemented in pytest infrastructure,
> So update the dm tests with the same instead of ./test/dm/test-dm.sh

> diff --git a/doc/driver-model/README.txt b/doc/driver-model/README.txt

> +   ./test/py/test.py --bd sandbox --build -k ut_dm -v

I'd suggest dropping the -v to simplify the output, although I suppose 
it might be useful to list the name of each test separately.

>
>   You should see something like this:
>
> -    <...U-Boot banner...>
...
> +(venv)$ ./test/py/test.py --bd sandbox --build -k ut_dm -v
> ++make O=/root/u-boot/build-sandbox -s sandbox_defconfig
> ++make O=/root/u-boot/build-sandbox -s -j8
> +======================================================================================== test session starts ========================================================================================
> +platform linux2 -- Python 2.7.5, pytest-2.9.0, py-1.4.31, pluggy-0.3.1 -- /root/u-boot/venv/bin/python

I'd suggest running the command in a terminal with 80 columns to narrow 
the width of the output.

Other than than, the series,
Acked-by: Stephen Warren <swarren at nvidia.com>


More information about the U-Boot mailing list