twister: Change category of skip due to emulation_platforms
The value of emulation_platforms is a bool corresponding to --emulation-only CLI option. Therefore, it should be registered as Filters.CMD_LINE. Without it, twister raises errors when an integration platform is descoped due to this option. Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
This commit is contained in:
parent
fe5c915a56
commit
6d64fe67ee
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ class TestPlan:
|
|||
elif emulation_platforms:
|
||||
self.add_instances(instance_list)
|
||||
for instance in list(filter(lambda inst: not inst.platform.simulation != 'na', instance_list)):
|
||||
instance.add_filter("Not an emulated platform", Filters.PLATFORM)
|
||||
instance.add_filter("Not an emulated platform", Filters.CMD_LINE)
|
||||
else:
|
||||
self.add_instances(instance_list)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue