qemu/tests/avocado
Jamin Lin 1478055d3a test/avocado/machine_aspeed.py: Add AST2700 test case
Add a test case to test Aspeed OpenBMC SDK v09.01 on AST2700 board.

It loads u-boot-nodtb.bin, u-boot.dtb, tfa and optee-os
images to dram first which base address is 0x400000000.
Then, boot and launch 4 cpu cores.

```
qemu-system-aarch64 -machine ast2700-evb
    -device loader,force-raw=on,addr=0x400000000,file=workdir/u-boot-nodtb.bin \
    -device loader,force-raw=on,addr=uboot_dtb_load_addr,file=workdir/u-boot.dtb\
    -device loader,force-raw=on,addr=0x430000000,file=workdir/bl31.bin\
    -device loader,force-raw=on,addr=0x430080000,file=workdir/optee/tee-raw.bin\
    -device loader,cpu-num=0,addr=0x430000000 \
    -device loader,cpu-num=1,addr=0x430000000 \
    -device loader,cpu-num=2,addr=0x430000000 \
    -device loader,cpu-num=3,addr=0x430000000 \
    -smp 4 \
    -drive file=workdir/image-bmc,format=raw,if=mtd
```

A test image is downloaded from the ASPEED Forked OpenBMC GitHub release repository :
https://github.com/AspeedTech-BMC/openbmc/releases/

Signed-off-by: Troy Lee <troy_lee@aspeedtech.com>
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
2024-06-16 21:08:54 +02:00
..
acpi-bits tests: correct typos 2024-02-20 22:21:10 +03:00
avocado_qemu tests/avocado: Make fetch_asset() unconditionally require a crypto hash 2023-11-16 07:13:41 +01:00
virtiofs_submounts.py.data
acpi-bits.py acpi/tests/avocado/bits: wait for 200 seconds for SHUTDOWN event from bits VM 2024-01-18 12:47:25 +00:00
boot_linux_console.py tests/avocado: update sunxi kernel from armbian to 6.6.16 2024-04-30 15:06:26 +01:00
boot_linux.py tests/avocado: Add pseries KVM boot_linux test 2024-02-23 23:16:35 +10:00
boot_xen.py
cpu_queries.py tests/avocado: Replace assertEquals() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00
empty_cpu_model.py tests/avocado: Replace assertEquals() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00
hotplug_cpu.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
info_usernet.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
intel_iommu.py docs, tests: do not specify scsi=off 2024-06-05 11:00:56 +02:00
kvm_xen_guest.py tests/avocado: use snapshot=on in kvm_xen_guest 2024-01-12 13:23:48 +00:00
linux_initrd.py gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
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 tests/avocado: Add bFLT loader linux-user test 2021-11-08 17:00:22 +01:00
machine_aarch64_sbsaref.py tests/avocado: update sbsa-ref firmware 2024-05-30 13:21:06 +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 tests/avocado: Update the URLs of the advent calendar images 2022-11-23 10:58:48 +01:00
machine_arm_integratorcp.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
machine_arm_n8x0.py tests/avocado: Rename avocado_qemu.Test -> QemuSystemTest 2021-11-08 17:00:22 +01:00
machine_aspeed.py test/avocado/machine_aspeed.py: Add AST2700 test case 2024-06-16 21:08:54 +02:00
machine_avr6.py tests/avocado: Rename avocado_qemu.Test -> QemuSystemTest 2021-11-08 17:00:22 +01:00
machine_loongarch.py tests/avocado: Update LoongArch bios file 2024-06-12 09:44:52 +02:00
machine_m68k_nextcube.py tests/avocado: Allow newer versions of tesseract in the nextcube test 2023-11-07 19:26:50 +01:00
machine_microblaze.py tests/avocado: Add a test for a little-endian microblaze machine 2024-01-12 13:23:48 +00:00
machine_mips_fuloong2e.py tests/avocado: Rename avocado_qemu.Test -> QemuSystemTest 2021-11-08 17:00:22 +01:00
machine_mips_loongson3v.py tests/avocado: Rename avocado_qemu.Test -> QemuSystemTest 2021-11-08 17:00:22 +01:00
machine_mips_malta.py tests/avocado: Update yamon-bin-02.22.zip URL 2023-12-04 16:21:00 +01:00
machine_rx_gdbsim.py gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
machine_s390_ccw_virtio.py gitlab: add optional job to run flaky avocado tests 2023-12-01 17:47:20 +00:00
machine_sparc64_sun4u.py tests/avocado: Update the URLs of the advent calendar images 2022-11-23 10:58:48 +01:00
machine_sparc_leon3.py tests/avocado: Rename avocado_qemu.Test -> QemuSystemTest 2021-11-08 17:00:22 +01:00
mem-addr-space-check.py tests: correct typos 2024-02-20 22:21:10 +03:00
migration.py tests/avocado: Use default CPU for pseries machine 2024-02-23 23:24:31 +10:00
multiprocess.py tests/avocado/multiprocess: Add asset hashes to silence warnings 2023-11-16 07:13:41 +01:00
netdev-ethtool.py igb: Notify only new interrupts 2023-05-23 15:20:15 +08:00
pc_cpu_hotplug_props.py tests/avocado: Replace assertEquals() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00
ppc_74xx.py avocado/ppc_74xx.py: check TCG accel for all tests 2022-03-14 15:57:17 +01:00
ppc_405.py avocado/ppc_405.py: check TCG accel in test_ppc_ref405ep() 2022-03-14 15:57:17 +01:00
ppc_amiga.py tests/avocado: Add test for amigaone board 2023-11-07 15:49:41 -03:00
ppc_bamboo.py tests/avocado: Add missing require_netdev('user') checks 2022-10-11 17:25:50 +02:00
ppc_hv_tests.py tests/avocado: ppc_hv_tests.py set alpine time before setup-alpine 2024-03-30 18:50:26 +10:00
ppc_mpc8544ds.py tests/avocado: Update the URLs of the advent calendar images 2022-11-23 10:58:48 +01:00
ppc_powernv.py tests/avocado: Add ppc pseries and powernv hash MMU tests 2024-02-23 23:16:35 +10:00
ppc_prep_40p.py avocado/ppc_prep_40p.py: check TCG accel in all tests 2022-03-14 15:57:17 +01:00
ppc_pseries.py tests/avocado: Add ppc pseries and powernv hash MMU tests 2024-02-23 23:16:35 +10:00
ppc_virtex_ml507.py tests/avocado: Update the URLs of the advent calendar images 2022-11-23 10:58:48 +01:00
README.rst
replay_kernel.py tests/avocado: update sunxi kernel from armbian to 6.6.16 2024-04-30 15:06:26 +01:00
replay_linux.py tests/avocado: modernise the drive args for replay_linux 2024-01-08 13:58:31 +00:00
reverse_debugging.py tests: correct typos 2024-02-20 22:21:10 +03:00
riscv_opensbi.py tests/avocado: riscv: Enable 32-bit Spike OpenSBI boot testing 2023-07-10 22:29:14 +10:00
s390_topology.py tests/avocado: s390x cpu topology bad move 2023-10-20 07:16:53 +02:00
smmu.py docs, tests: do not specify scsi=off 2024-06-05 11:00:56 +02:00
tcg_plugins.py tests/avocado: update the tcg_plugins test 2023-11-08 15:15:23 +00:00
tesseract_utils.py tests/avocado: Allow newer versions of tesseract in the nextcube test 2023-11-07 19:26:50 +01:00
tuxrun_baselines.py docs, tests: do not specify scsi=off 2024-06-05 11:00:56 +02:00
version.py tests/avocado: Replace assertRegexpMatches() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00
virtio_check_params.py tests/avocado: avoid invalid escape in Python string 2023-10-17 15:20:53 +02:00
virtio_version.py python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
virtio-gpu.py tests/avocado/virtio-gpu: Fix test_vhost_user_vga_virgl for edid support 2023-11-16 07:13:41 +01:00
vnc.py python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
x86_cpu_model_versions.py tests/avocado: Replace assertEquals() for Python 3.12 compatibility 2023-11-16 07:13:41 +01:00

=============================================
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".