[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 00/24] Convert avocado tests to normal Python unittests
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v3 00/24] Convert avocado tests to normal Python unittests |
Date: |
Tue, 30 Jul 2024 20:38:00 +0200 |
User-agent: |
Mozilla Thunderbird |
On 30/7/24 19:03, Daniel P. Berrangé wrote:
This series is an update to Thomas' v2:
https://lists.nongnu.org/archive/html/qemu-devel/2024-07/msg05805.html
wherein Thomas suggested someone could do the asset caching updates
while he is on vacation:
https://lists.nongnu.org/archive/html/qemu-devel/2024-07/msg06228.html
hence this posting what I'm calling a v3.
Changes included in my PR (can be considered as v2.5):
20240729152714.10225-1-philmd@linaro.org/">https://lore.kernel.org/qemu-devel/20240729152714.10225-1-philmd@linaro.org/
-- >8 --
diff --git a/MAINTAINERS b/MAINTAINERS
index 98eddf7ae1..a906218f9d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -317,6 +317,7 @@ F: configs/devices/ppc*
F: docs/system/ppc/embedded.rst
F: docs/system/target-ppc.rst
F: tests/tcg/ppc*/*
+F: tests/functional/test_ppc_74xx.py
RISC-V TCG CPUs
M: Palmer Dabbelt <palmer@dabbelt.com>
@@ -336,6 +337,7 @@ F: include/hw/riscv/
F: linux-user/host/riscv32/
F: linux-user/host/riscv64/
F: tests/tcg/riscv64/
+F: tests/functional/test_riscv_opensbi.py
RISC-V XThead* extensions
M: Christoph Muellner <christoph.muellner@vrull.eu>
@@ -1830,6 +1832,9 @@ F: hw/isa/apm.c
F: include/hw/isa/apm.h
F: tests/unit/test-x86-topo.c
F: tests/qtest/test-x86-cpuid-compat.c
+F: tests/functional/test_mem_addr_space.py
+F: tests/functional/test_pc_cpu_hotplug_props.py
+F: tests/functional/test_x86_cpu_model_versions.py
PC Chipset
M: Michael S. Tsirkin <mst@redhat.com>
@@ -1896,6 +1901,8 @@ F: include/hw/boards.h
F: include/hw/core/cpu.h
F: include/hw/cpu/cluster.h
F: include/sysemu/numa.h
+F: tests/functional/test_cpu_queries.py
+F: tests/functional/test_empty_cpu_model.py
F: tests/unit/test-smp-parse.c
T: git https://gitlab.com/ehabkost/qemu.git machine-next
@@ -2101,6 +2108,7 @@ S: Odd Fixes
F: hw/net/
F: include/hw/net/
F: tests/qtest/virtio-net-test.c
+F: tests/avocado/info_usernet.py
F: docs/virtio-net-failover.rst
T: git https://github.com/jasowang/qemu.git net
@@ -2236,6 +2244,7 @@ F: net/vhost-user.c
F: include/hw/virtio/
F: docs/devel/virtio*
F: docs/devel/migration/virtio.rst
+F: tests/functional/test_virtio_version.py
virtio-balloon
M: Michael S. Tsirkin <mst@redhat.com>
@@ -2969,6 +2978,7 @@ S: Supported
F: include/qemu/option.h
F: tests/unit/test-keyval.c
F: tests/unit/test-qemu-opts.c
+F: tests/functional/test_version.py
F: util/keyval.c
F: util/qemu-option.c
@@ -4127,6 +4137,7 @@ F: .travis.yml
F: docs/devel/ci*
F: scripts/ci/
F: tests/docker/
+F: tests/functional/
F: tests/vm/
F: tests/lcitool/
F: tests/avocado/tuxrun_baselines.py
diff --git a/tests/functional/test_info_usernet.py
b/tests/functional/test_info_usernet.py
index ded973253a..cd37524d94 100755
--- a/tests/functional/test_info_usernet.py
+++ b/tests/functional/test_info_usernet.py
@@ -19,7 +19,7 @@ class InfoUsernet(QemuSystemTest):
def test_hostfwd(self):
self.require_netdev('user')
- self.machine = 'none'
+ self.set_machine('none')
self.vm.add_args('-netdev',
'user,id=vnet,hostfwd=:127.0.0.1:0-:22')
self.vm.launch()
res = self.vm.cmd('human-monitor-command',
diff --git a/tests/functional/test_version.py
b/tests/functional/test_version.py
index 5e566d76b1..3ab3b67f7e 100755
--- a/tests/functional/test_version.py
+++ b/tests/functional/test_version.py
@@ -17,7 +17,7 @@
class Version(QemuSystemTest):
def test_qmp_human_info_version(self):
- self.machine = 'none'
+ self.set_machine('none')
self.vm.add_args('-nodefaults')
self.vm.launch()
res = self.vm.cmd('human-monitor-command',
diff --git a/tests/functional/test_x86_cpu_model_versions.py
b/tests/functional/test_x86_cpu_model_versions.py
index a5f27c737d..a7294b4b92 100755
--- a/tests/functional/test_x86_cpu_model_versions.py
+++ b/tests/functional/test_x86_cpu_model_versions.py
@@ -217,7 +217,7 @@ def test_none_alias(self):
"""
Check if unversioned CPU model is an alias pointing to some
version
"""
- self.machine = 'none'
+ self.set_machine('none')
self.vm.add_args('-S')
self.vm.launch()
---
- [PATCH v3 16/24] tests/functional: Convert the riscv_opensbi avocado test into a standalone test, (continued)
- [PATCH v3 16/24] tests/functional: Convert the riscv_opensbi avocado test into a standalone test, Daniel P . Berrangé, 2024/07/30
- [PATCH v3 17/24] tests/functional: Convert the virtio_gpu avocado test into a standalone test, Daniel P . Berrangé, 2024/07/30
- [PATCH v3 19/24] tests/functional: Convert the ppc_amiga avocado test into a standalone test, Daniel P . Berrangé, 2024/07/30
- [PATCH v3 18/24] tests/functional: Convert most ppc avocado tests into standalone tests, Daniel P . Berrangé, 2024/07/30
- [PATCH v3 20/24] tests/functional: Convert the ppc_hv avocado test into a standalone test, Daniel P . Berrangé, 2024/07/30
- [PATCH v3 22/24] tests/functional: Convert the acpi-bits test into a standalone test, Daniel P . Berrangé, 2024/07/30
- [PATCH v3 21/24] tests/functional: Convert the m68k nextcube test with tesseract, Daniel P . Berrangé, 2024/07/30
- [PATCH v3 23/24] tests/functional: Convert the rx_gdbsim avocado test into a standalone test, Daniel P . Berrangé, 2024/07/30
- [PATCH v3 24/24] gitlab-ci: Add "check-functional" to the build tests, Daniel P . Berrangé, 2024/07/30
- Re: [PATCH v3 00/24] Convert avocado tests to normal Python unittests,
Philippe Mathieu-Daudé <=