twister: fix simulation conditional
non-simulation platforms set key to 'na', we need to check for that instead of just checking for existance of key. Fixes #52595 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
28a815190f
commit
ef7d0d6c01
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class TestInstance:
|
|||
|
||||
options = env.options
|
||||
handler = Handler(self, "")
|
||||
if self.platform.simulation:
|
||||
if self.platform.simulation != "na":
|
||||
if self.platform.simulation == "qemu":
|
||||
handler = QEMUHandler(self, "qemu")
|
||||
handler.args.append(f"QEMU_PIPE={handler.get_fifo()}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue