Skip to content

Commit 7557756

Browse files
Jordan Yatesnashif
authored andcommitted
scripts: twister: testplan: search for requested snippets
Search for the snippets requested by the test, not for snippets found in the snippet roots. Signed-off-by: Jordan Yates <[email protected]>
1 parent b7854c0 commit 7557756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pylib/twister/twisterlib/testplan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ def apply_filters(self, **kwargs):
820820
if not missing_snippet:
821821
# Look for required snippets and check that they are applicable for these
822822
# platforms/boards
823-
for this_snippet in found_snippets:
823+
for this_snippet in snippet_args['snippets']:
824824
matched_snippet_board = False
825825

826826
# If the "appends" key is present with at least one entry then this

0 commit comments

Comments
 (0)