Skip to content
Commit 3314b8e0 authored by Maciej Perkowski's avatar Maciej Perkowski Committed by Anas Nashif
Browse files

twister: bugfix: Fix infinite loop in test_plan.py script



Commit 72f416f3 added a horizontal
scan for .yaml files when a modification was made in "common" folder.
If yamls were found in such way, the loop ended. However, the
implementation didn't address what happens if such yamls are not found.
This made the script going into an infinite loop. If yamls are not
found next to "common", the script should proceed as before, i.e. go
to the directory above an start looking there.

Signed-off-by: default avatarMaciej Perkowski <Maciej.Perkowski@nordicsemi.no>
parent b1c207b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment