twister: testplan: fix robot filter when there is no simulator
#79174 incorectly interpreted the condition. If no simulator is found if cannot be "renode" and therefore robot should be considered unsupported. Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
This commit is contained in:
parent
df79f10513
commit
468ce19e9c
1 changed files with 1 additions and 1 deletions
|
@ -947,7 +947,7 @@ class TestPlan:
|
|||
|
||||
if ts.harness:
|
||||
sim = plat.simulator_by_name(self.options.sim_name)
|
||||
if ts.harness == 'robot' and sim and sim.name != 'renode':
|
||||
if ts.harness == 'robot' and not (sim and sim.name == 'renode'):
|
||||
instance.add_filter("No robot support for the selected platform", Filters.SKIP)
|
||||
|
||||
if ts.depends_on:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue