[PATCH v3 8/9] test/py: allow multi-digit index in in_tree()
Tom Rini
trini at konsulko.com
Thu Oct 1 16:09:04 CEST 2020
On Thu, Sep 24, 2020 at 10:04:17AM +0530, Pratyush Yadav wrote:
> 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: Pratyush Yadav <p.yadav at ti.com>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201001/25c8fac2/attachment.sig>
More information about the U-Boot
mailing list