Skip to content

Commit 3745316

Browse files
authored
Merge pull request #169 from basak-qcom/qemu-test-expect-failure-output
Qemu test expect failure output
2 parents 547d356 + 332f6c6 commit 3745316

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/qemu_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import os
77
import signal
88
import subprocess
9+
import sys
910
import tempfile
1011

1112
import pexpect
@@ -42,7 +43,7 @@ def vm():
4243
"-M",
4344
"virt",
4445
"-drive",
45-
f"if=none,file={qcow_path},format=qcow,id=disk1",
46+
f"if=none,file={qcow_path},format=qcow,id=disk1,cache=unsafe",
4647
"-device",
4748
"virtio-scsi-pci,id=scsi1",
4849
"-device",
@@ -52,6 +53,7 @@ def vm():
5253
"/usr/share/AAVMF/AAVMF_CODE.fd",
5354
],
5455
)
56+
child.logfile = sys.stdout.buffer
5557
yield child
5658

5759
# No need to be nice; that would take time

0 commit comments

Comments
 (0)