]> xenbits.xensource.com Git - xen.git/commit
automation: use expect to run QEMU
authorStefano Stabellini <stefano.stabellini@amd.com>
Thu, 15 Aug 2024 00:57:54 +0000 (17:57 -0700)
committerStefano Stabellini <stefano.stabellini@amd.com>
Fri, 16 Aug 2024 23:03:31 +0000 (16:03 -0700)
commit1db6ce307b2ded04aa1f97cada1512c4395f7b51
treeb7986d1969c2b9612c5c5e9c99cc80a5c4a86d42
parent265aa7f52c4ab908472ea9dc4568b28e63671b23
automation: use expect to run QEMU

Use expect to invoke QEMU so that we can terminate the test as soon as
we get the right string in the output instead of waiting until the
final timeout.

For timeout, instead of an hardcoding the value, use a Gitlab CI
variable "QEMU_TIMEOUT" that can be changed depending on the latest
status of the Gitlab CI runners.

[This backport skips the PPC and RISC scripts as well as the XTF
scripts on x86]

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
master commit: c36efb7fcea6ef9f31a20e60ec79ed3ae293feee
master date: 2024-08-09 23:59:20 -0700
automation/scripts/qemu-alpine-arm64.sh
automation/scripts/qemu-alpine-x86_64.sh
automation/scripts/qemu-key.exp [new file with mode: 0755]
automation/scripts/qemu-smoke-arm32.sh
automation/scripts/qemu-smoke-arm64.sh