dbba45e6aa
The two TCG tests for GICv2 and GICv3 are very heavy weight distros that take a long time to boot up, especially for an --enable-debug build. The total code coverage they give is: Overall coverage rate: lines......: 11.2% (59584 of 530123 lines) functions..: 15.0% (7436 of 49443 functions) branches...: 6.3% (19273 of 303933 branches) We already get pretty close to that with the machine_aarch64_virt tests which only does one full boot (~120s vs ~600s) of alpine. We expand the kernel+initrd boot (~8s) to test both GICs and also add an RNG device and a block device to generate a few IRQs and exercise the storage layer. With that we get to a coverage of: Overall coverage rate: lines......: 11.0% (58121 of 530123 lines) functions..: 14.9% (7343 of 49443 functions) branches...: 6.0% (18269 of 303933 branches) which I feel is close enough given the massive time saving. If we want to target any more sub-systems we can use lighter weight more directed tests. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Fabiano Rosas <farosas@suse.de> Acked-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230203181632.2919715-1-alex.bennee@linaro.org Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
||
---|---|---|
.. | ||
acpi-bits | ||
avocado_qemu | ||
virtiofs_submounts.py.data | ||
acpi-bits.py | ||
boot_linux_console.py | ||
boot_linux.py | ||
boot_xen.py | ||
cpu_queries.py | ||
empty_cpu_model.py | ||
hotplug_cpu.py | ||
info_usernet.py | ||
intel_iommu.py | ||
linux_initrd.py | ||
linux_ssh_mips_malta.py | ||
load_bflt.py | ||
machine_aarch64_virt.py | ||
machine_arm_canona1100.py | ||
machine_arm_integratorcp.py | ||
machine_arm_n8x0.py | ||
machine_aspeed.py | ||
machine_avr6.py | ||
machine_m68k_nextcube.py | ||
machine_microblaze.py | ||
machine_mips_fuloong2e.py | ||
machine_mips_loongson3v.py | ||
machine_mips_malta.py | ||
machine_rx_gdbsim.py | ||
machine_s390_ccw_virtio.py | ||
machine_sparc64_sun4u.py | ||
machine_sparc_leon3.py | ||
migration.py | ||
multiprocess.py | ||
pc_cpu_hotplug_props.py | ||
ppc_74xx.py | ||
ppc_405.py | ||
ppc_bamboo.py | ||
ppc_mpc8544ds.py | ||
ppc_prep_40p.py | ||
ppc_pseries.py | ||
ppc_virtex_ml507.py | ||
README.rst | ||
replay_kernel.py | ||
replay_linux.py | ||
reverse_debugging.py | ||
riscv_opensbi.py | ||
smmu.py | ||
tcg_plugins.py | ||
tesseract_utils.py | ||
version.py | ||
virtio_check_params.py | ||
virtio_version.py | ||
virtio-gpu.py | ||
virtiofs_submounts.py | ||
vnc.py | ||
x86_cpu_model_versions.py |
============================================= Integration tests using the Avocado Framework ============================================= This directory contains integration tests. They're usually higher level, and may interact with external resources and with various guest operating systems. For more information, please refer to ``docs/devel/testing.rst``, section "Integration tests using the Avocado Framework".