Skip to content
Commit 8a34d3d7 authored by Pratyush Yadav's avatar Pratyush Yadav Committed by Tom Rini
Browse files

test/py: allow multi-digit index in in_tree()



When more nodes are added for a uclass the index might go into two or
more digits. This means that there are less spaces printed because they
are used up by the extra digits. Update the regular expression to allow
variable-length spacing between the class name and and index.

This was discovered when adding a simple_bus node in test.dts made
test_bind_unbind_with_uclass() fail because the index went up to 10.

Signed-off-by: default avatarPratyush Yadav <p.yadav@ti.com>
parent 1c4db59d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment