Skip to content
Commit bf1b467d authored by Richard Purdie's avatar Richard Purdie
Browse files

yocto-check-layer: Avoid bug when iterating and autoadding dependencies



If iterating a layer with multiple components and auto-adding dependencies
the tests can break since layers are never removed and order isn't guaranteed
to account for that.

Fix this by resetting the layer list back to the original list each time
before auto-adding the dependencies in each case.

This fixes scanning of meta-openembedded in particular where the sublayers
may not be added in order of minimal dependency.

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 2bb146e7
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