twister: qemu: Fix device tests skipped when QEMU not installed
https://github.com/zephyrproject-rtos/zephyr/pull/67595 introduces a bug where if QEMU_BIN_PATH is not set on a Windows PC, on-device tests are skipped. This fixes that issue. Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
This commit is contained in:
parent
15f1e62cb9
commit
bc55924004
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue