[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 09/29] tests/acceptance: Use 'machine' tag to check if ava
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v2 09/29] tests/acceptance: Use 'machine' tag to check if available in QEMU binary |
Date: |
Fri, 31 Jan 2020 11:00:33 +0100 |
On Wed, 29 Jan 2020 22:23:25 +0100
Philippe Mathieu-Daudé <address@hidden> wrote:
> We already use the 'machine' tag in Avocado tests.
> If the requested machine is not available in the QEMU binary,
> the tests will be cancelled (skipped):
>
> $ python -m avocado --show=app run
> tests/acceptance/x86_cpu_model_versions.py
> ...
> (04/11) CascadelakeArchCapabilities.test_4_1: CANCEL: Test expects machine
> 'pc-i440fx-4.1' which is missing from QEMU binary (0.10 s)
> (05/11) CascadelakeArchCapabilities.test_4_0: CANCEL: Test expects machine
> 'pc-i440fx-4.0' which is missing from QEMU binary (0.11 s)
> ...
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> tests/acceptance/avocado_qemu/__init__.py | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
Reviewed-by: Cornelia Huck <address@hidden>
- Re: [PATCH v2 04/29] tests/acceptance: Use 'version-min' tag to verify QEMU binary version, (continued)
- [PATCH v2 05/29] tests/acceptance: Restrict X86CPUModelAliases test to QEMU >= 4.1, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 06/29] python/qemu: Add binutils::binary_get_arch(), Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 07/29] tests/acceptance: Use the 'arch' tag to verify QEMU binary target, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 08/29] python/qemu: Add binutils::binary_get_machines(), Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 10/29] python/qemu: Add binutils::binary_get_qom_implementations(), Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 09/29] tests/acceptance: Use 'machine' tag to check if available in QEMU binary, Philippe Mathieu-Daudé, 2020/01/29
- Re: [PATCH v2 09/29] tests/acceptance: Use 'machine' tag to check if available in QEMU binary,
Cornelia Huck <=
- [PATCH v2 11/29] python/qemu: Add binutils::binary_get_accels(), Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 12/29] python/qemu/accel: Use binutils::binary_get_accels(), Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 13/29] python/qemu: Add binutils::binary_get_devices(), Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 15/29] tests: rename virtio_seg_max_adjust to virtio_check_params, Philippe Mathieu-Daudé, 2020/01/29
- [RFC PATCH v2 14/29] tests/acceptance: Use 'device' tags to check availability in QEMU binary, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 16/29] tests/acceptance/virtio_check_params: Only remove listed machines, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 17/29] tests/acceptance/virtio_check_params: Improve exception logging, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 19/29] tests/acceptance/virtio_check_params: Only test Xen as superuser, Philippe Mathieu-Daudé, 2020/01/29