]> xenbits.xensource.com Git - xen.git/commit
automation: use expect to run QEMU
authorStefano Stabellini <stefano.stabellini@amd.com>
Sat, 10 Aug 2024 06:59:20 +0000 (23:59 -0700)
committerStefano Stabellini <stefano.stabellini@amd.com>
Tue, 13 Aug 2024 23:05:05 +0000 (16:05 -0700)
commitc36efb7fcea6ef9f31a20e60ec79ed3ae293feee
treeff235cb9aecb590ccfd97144177cc6a0a19456a1
parent35c64c3dce01c2d0689a8c13240bf48a10cef783
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.

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
automation/scripts/qemu-alpine-x86_64.sh
automation/scripts/qemu-key.exp [new file with mode: 0755]
automation/scripts/qemu-smoke-dom0-arm32.sh
automation/scripts/qemu-smoke-dom0-arm64.sh
automation/scripts/qemu-smoke-dom0less-arm32.sh
automation/scripts/qemu-smoke-dom0less-arm64.sh
automation/scripts/qemu-smoke-ppc64le.sh
automation/scripts/qemu-smoke-riscv64.sh
automation/scripts/qemu-smoke-x86-64.sh
automation/scripts/qemu-xtf-dom0less-arm64.sh