Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions test/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ def run(device, test, runtime, debug):
ret = subprocess.call(args)
if ret != 0:
print(f"Command return non-zero exist status {ret}")
print((tmpdir / "logs.yaml").read_text(encoding="utf-8"))
log = tmpdir / "logs.yaml"
if log.exists():
print(log.read_text(encoding="utf-8"))
return ret

results = get_results(tmpdir)
Expand Down Expand Up @@ -273,9 +275,9 @@ def main():
for d in Device.list(virtual_device=True)
if fnmatch.fnmatch(d.name, pat)
]
for qemu in ["qemu-riscv32", "qemu-sh4"]:
if qemu in options.devices:
options.devices.remove(qemu)
for skip in ["fvp-lava", "qemu-lava", "qemu-riscv32", "qemu-sh4"]:
if skip in options.devices:
options.devices.remove(skip)

for device in options.devices:
tests = options.tests.copy()
Expand Down
1 change: 1 addition & 0 deletions test/unit/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ def test_update_cache(mocker, monkeypatch, capsys):
* qemu-armv7
* qemu-armv7be
* qemu-i386
* qemu-lava
* qemu-m68k
* qemu-mips32
* qemu-mips32el
Expand Down
Loading