Skip to content

Commit e3540e8

Browse files
committed
Twister: Add clear status for depends_on skip.
The skip reason was improved by clearly stating which keyword is not supported. Signed-off-by: Maciej Perkowski <[email protected]>
1 parent 5f04481 commit e3540e8

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
@@ -707,7 +707,7 @@ def apply_filters(self, **kwargs):
707707
if ts.depends_on:
708708
dep_intersection = ts.depends_on.intersection(set(plat.supported))
709709
if dep_intersection != set(ts.depends_on):
710-
instance.add_filter("No hardware support", Filters.PLATFORM)
710+
instance.add_filter(f"No hardware support, lacking {set(ts.depends_on) - dep_intersection}.", Filters.PLATFORM)
711711

712712
if plat.flash < ts.min_flash:
713713
instance.add_filter("Not enough FLASH", Filters.PLATFORM)

0 commit comments

Comments
 (0)