summaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorPatrice Chotard <[email protected]>2020-07-28 09:13:33 +0200
committerSimon Glass <[email protected]>2020-08-22 07:58:39 -0600
commit1f0d5885dbbd669400e5d8cfdb3998c7945e0a7a (patch)
tree580524762e103486e52d945d518322f404b641a3 /test/py
parentcfa3ed4390c158b527bdb2ceceacf7eabae1b01e (diff)
sandbox: dts: Add compatible string for bind-test node
Usage of lists_bind_fdt() in bind command imposes to add a compatible string for bind-test node. Others impacts are: - bind-test node is binded at sandbox start, so no need to bind it in test_bind_unbind_with_node() test. - As explained just above, after sandbox start, now a phy exist. In test/dm/phy.c, it was verified that a third phy didn't exist, now we must verified that a fourth phy doesn't exist. Signed-off-by: Patrice Chotard <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'test/py')
-rw-r--r--test/py/tests/test_bind.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/py/tests/test_bind.py b/test/py/tests/test_bind.py
index e9681c69c54..1de125ce459 100644
--- a/test/py/tests/test_bind.py
+++ b/test/py/tests/test_bind.py
@@ -25,9 +25,6 @@ def in_tree(response, name, uclass, drv, depth, last_child):
@pytest.mark.buildconfigspec('cmd_bind')
def test_bind_unbind_with_node(u_boot_console):
- #bind /bind-test. Device should come up as well as its children
- response = u_boot_console.run_command('bind /bind-test simple_bus')
- assert response == ''
tree = u_boot_console.run_command('dm tree')
assert in_tree(tree, 'bind-test', 'simple_bus', 'simple_bus', 0, True)
assert in_tree(tree, 'bind-test-child1', 'phy', 'phy_sandbox', 1, False)