qemu/tests/avocado
Kautuk Consul 6ee3624236 tests/avocado/tuxrun_baselines.py: improve code coverage for ppc64
Commit c0c8687ef0 disabled the
boot_linux.py test-case due to which the code coverage for ppc
decreased by around 2%. As per the discussion on
https://lore.kernel.org/qemu-devel/87sfdpqcy4.fsf@linaro.org/ it
was mentioned that the baseline test for ppc64 could be modified
to make up this 2% code coverage. This patch attempts to achieve
this 2% code coverage by adding various device command line
arguments (to ./qemu-system-ppc64) in the tuxrun_baselines.py
test-case.

The code coverage report with boot_linux.py, without it and finally
with these tuxrun_baselines.py changes is as follows:

With boot_linux.py
------------------
  lines......: 13.8% (58006 of 420997 lines)
  functions..: 20.7% (7675 of 36993 functions)
  branches...: 9.2% (22146 of 240611 branches)
Without boot_linux.py (without this patch changes)
--------------------------------------------------
  lines......: 11.9% (50174 of 420997 lines)
  functions..: 18.8% (6947 of 36993 functions)
  branches...: 7.4% (17580 of 239017 branches)
Without boot_linux.py (with this patch changes)
-----------------------------------------------
  lines......: 13.8% (58287 of 420997 lines)
  functions..: 20.7% (7640 of 36993 functions)
  branches...: 8.4% (20223 of 240611 branches)

Rebased on Alex Benee's testing/next branch:
https://gitlab.com/stsquad/qemu/-/tree/testing/next

Signed-off-by: Kautuk Consul <kconsul@linux.vnet.ibm.com>
Reported-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230424041830.1275636-1-kconsul@linux.vnet.ibm.com>
Message-Id: <20230424092249.58552-13-alex.bennee@linaro.org>
2023-04-27 14:58:23 +01:00
..
acpi-bits
avocado_qemu avocado_qemu/__init__.py: factor out the qemu-img finding 2023-04-27 14:58:23 +01:00
virtiofs_submounts.py.data
acpi-bits.py
boot_linux_console.py tests/avocado: Add reboot tests to Cubieboard 2023-04-20 10:21:14 +01:00
boot_linux.py
boot_xen.py
cpu_queries.py
empty_cpu_model.py
hotplug_cpu.py
info_usernet.py
intel_iommu.py
kvm_xen_guest.py tests/avocado: Test Xen guest support under KVM 2023-04-04 15:56:44 +01:00
linux_initrd.py
linux_ssh_mips_malta.py tests/avocado: Make ssh_command_output_contains() globally available 2023-04-27 14:58:23 +01:00
load_bflt.py
machine_aarch64_sbsaref.py tests/avocado: Add set of boot tests on SBSA-ref 2023-04-27 14:58:07 +01:00
machine_aarch64_virt.py tests/avocado: update AArch64 tests to Alpine 3.17.2 2023-03-22 15:04:52 +00:00
machine_arm_canona1100.py
machine_arm_integratorcp.py
machine_arm_n8x0.py
machine_aspeed.py tests/avocado/machine_aspeed: Fix the broken ast2[56]00_evb_sdk tests 2023-04-27 14:58:23 +01:00
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 tests/avocado: probe for multi-process support before running test 2023-03-22 15:06:28 +00:00
netdev-ethtool.py tests/avocado: re-factor igb test to avoid timeouts 2023-03-22 15:06:57 +00:00
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
tuxrun_baselines.py tests/avocado/tuxrun_baselines.py: improve code coverage for ppc64 2023-04-27 14:58:23 +01:00
version.py
virtio_check_params.py
virtio_version.py
virtio-gpu.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".