[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH v2 21/29] tests/acceptance/virtio_check_params: Kludge to ski
From: |
Philippe Mathieu-Daudé |
Subject: |
[RFC PATCH v2 21/29] tests/acceptance/virtio_check_params: Kludge to skip tests on MIPS |
Date: |
Wed, 29 Jan 2020 22:23:37 +0100 |
The MIPS default machine expects a BIOS.
To be able to run QMP queries on the machine, we have to use
the '-bios' command line option.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
RFC: This is not the correct place, this should be generic,
or the MIPS machine need some rework.
---
tests/acceptance/virtio_check_params.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/acceptance/virtio_check_params.py
b/tests/acceptance/virtio_check_params.py
index 8752e25f08..73200c9c5b 100755
--- a/tests/acceptance/virtio_check_params.py
+++ b/tests/acceptance/virtio_check_params.py
@@ -131,6 +131,9 @@ class VirtioMaxSegSettingsCheck(Test):
EXCLUDED_MACHINES += ['xenfv', 'xenpv']
# collect all machine types except the ones in EXCLUDED_MACHINES
with QEMUMachine(self.qemu_bin) as vm:
+ if arch.startswith('mips'):
+ # FIXME kludge for MIPS default machine
+ vm.add_args('-bios', '/dev/null')
vm.launch()
machines = [m['name'] for m in vm.command('query-machines')]
vm.shutdown()
--
2.21.1
- [RFC PATCH v2 14/29] tests/acceptance: Use 'device' tags to check availability in QEMU binary, (continued)
- [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
- [PATCH v2 18/29] tests/acceptance/virtio_check_params: List machine being tested, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 20/29] tests/acceptance/virtio_check_params: Skip test if arch is not supported, Philippe Mathieu-Daudé, 2020/01/29
- [RFC PATCH v2 21/29] tests/acceptance/virtio_check_params: Kludge to skip tests on MIPS,
Philippe Mathieu-Daudé <=
- [PATCH v2 22/29] tests/acceptance/virtio_check_params: Support the s390x architecture, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 23/29] tests/acceptance/virtio_check_params: Support the ppc architecture, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 24/29] tests/acceptance/virtio_check_params: Default to -nodefaults, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 25/29] tests/acceptance/virtio_check_params: Require a virtio-scsi-pci device, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 26/29] tests/acceptance/boot_linux_console: Do not use VGA on Clipper machine, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 27/29] tests/acceptance/migration: Default to -nodefaults, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 28/29] tests/acceptance/version: Default to -nodefaults, Philippe Mathieu-Daudé, 2020/01/29
- [PATCH v2 29/29] MAINTAINERS: Add Acceptance tests reviewers, Philippe Mathieu-Daudé, 2020/01/29