diff --git a/scripts/pylib/twister/twisterlib/testinstance.py b/scripts/pylib/twister/twisterlib/testinstance.py index 850da363278..5f00cbe901a 100644 --- a/scripts/pylib/twister/twisterlib/testinstance.py +++ b/scripts/pylib/twister/twisterlib/testinstance.py @@ -215,7 +215,7 @@ class TestInstance: return False # check presence of QEMU on Windows - if 'QEMU_BIN_PATH' not in os.environ: + if self.platform.simulation == 'qemu' and 'QEMU_BIN_PATH' not in os.environ: return False # we asked for build-only on the command line