scripts: tests: twister_blackbox: Add -i flag to qemu tests

An -i flag allows easier debugging for blackbox qemu tests.

Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
This commit is contained in:
Lukasz Mrugala 2023-09-11 15:16:16 +02:00 committed by Anas Nashif
commit 9fc414a97f

View file

@ -85,7 +85,7 @@ class TestQEMU:
] ]
) )
def test_emulation_only(self, capfd, test_path, test_platforms, expected): def test_emulation_only(self, capfd, test_path, test_platforms, expected):
args = ['-T', test_path, '--emulation-only'] + \ args = ['-i', '-T', test_path, '--emulation-only'] + \
[val for pair in zip( [val for pair in zip(
['-p'] * len(test_platforms), test_platforms ['-p'] * len(test_platforms), test_platforms
) for val in pair] ) for val in pair]