[PATCH v2 4/5] test/py: Update test_bind

Simon Glass sjg at chromium.org
Wed Apr 29 20:04:14 CEST 2020


On Wed, 29 Apr 2020 at 06:20, Patrice Chotard <patrice.chotard at st.com> wrote:
>
> As bind-test is now binded at sandbox startup and no more by
> test_bind.py, bind-test nodes are not located at the end of
> "dm tree" output, but can be located everywwhere in the tree, so

everywhere

> bind-test output could either be:
>
>  simple_bus    0  [   ]   generic_simple_bus    |-- bind-test
>  phy           0  [   ]   phy_sandbox           |   |-- bind-test-child1
>  simple_bus    1  [   ]   generic_simple_bus    |   `-- bind-test-child2
>
> or:
>
>  simple_bus    5  [   ]   generic_simple_bus    `-- bind-test
>  phy           2  [   ]   phy_sandbox               |-- bind-test-child1
>  simple_bus    6  [   ]   generic_simple_bus        `-- bind-test-child2
>
> in_tree() function need to be updated to take care of that change.
>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
>
> Changes in v2: None
>
>  test/py/tests/test_bind.py | 15 +++++++++------
>  1 file changed, 9 insertions(+), 6 deletions(-)

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


More information about the U-Boot mailing list