qemu-patch-raspberry4/tests/acceptance
Philippe Mathieu-Daudé 7fb1f203d7 tests/boot_linux_console: Boot Trusted Firmware-A on the Raspberry Pi 3
This test runs Trusted Firmware-A on the Raspberry Pi 3.
We deliberately stop the boot process when the EDK2 UEFI version
is displayed.

The binary is build on AppVeyor CI using Pete Batard repository [1].
ATF v2.1 binary are used (see [2]).

It is very simple and fast:

  $ avocado --show=app,console run -t atf tests/acceptance
  JOB ID     : 1e748d7c9e9011cf0af3250ddc8ebf2389d6204e
  JOB LOG    : avocado/job-results/job-2020-02-16T18.08-1e748d7/job.log
   (1/1) tests/acceptance/boot_linux_console.py:BootLinuxConsole.test_aarch64_raspi3_atf:
  console: NOTICE:  Booting Trusted Firmware
  console: NOTICE:  BL1: v2.1(release):v2.1
  console: NOTICE:  BL1: Built : 15:26:06, May 13 2019
  console: NOTICE:  rpi3: Detected: Raspberry Pi 3 Model B (1GB, Sony, UK) [0x00a02082]
  console: NOTICE:  BL1: Booting BL2
  console: ERROR:   rpi3_sdhost: timeout status 0x40
  console: NOTICE:  BL2: v2.1(release):v2.1
  console: NOTICE:  BL2: Built : 15:26:01, May 13 2019
  console: NOTICE:  BL1: Booting BL31
  console: NOTICE:  BL31: v2.1(release):v2.1
  console: NOTICE:  BL31: Built : 15:26:04, May 13 2019
  console: =UEFI firmware (version UEFI Firmware v1.15 built at 11:58:44 on Feb 14 2020)
  PASS (1.54 s)
  RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
  JOB TIME   : 1.88 s

[1] https://github.com/pbatard/RPi3#summary
[2] https://github.com/ARM-software/arm-trusted-firmware/blob/v2.1/docs/plat/rpi3.rst

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-Id: <20200217103442.30318-1-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2020-10-26 18:20:51 +01:00
..
avocado_qemu tests/acceptance: Add Test.fetch_asset(cancel_on_missing=True) 2020-09-10 10:46:57 +01:00
boot_linux.py tests/acceptance: skip s390x_ccw_vrtio_tcg on GitLab 2020-07-11 15:53:00 +01:00
boot_linux_console.py tests/boot_linux_console: Boot Trusted Firmware-A on the Raspberry Pi 3 2020-10-26 18:20:51 +01:00
cpu_queries.py Acceptance tests: use avocado tags for machine type 2019-12-16 11:23:19 -05:00
empty_cpu_model.py tests/acceptance: Makes linux_initrd and empty_cpu_model use QEMUMachine 2019-12-16 10:59:50 -05:00
linux_initrd.py tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab 2020-07-11 15:53:00 +01:00
linux_ssh_mips_malta.py tests/acceptance: wait() instead of shutdown() where appropriate 2020-07-14 22:22:22 +02:00
machine_arm_canona1100.py tests/acceptance: Add a test for the canon-a1100 machine 2020-05-21 20:00:18 +01:00
machine_arm_integratorcp.py tests/acceptance/integratorcp: Verify Tux is displayed on framebuffer 2020-02-28 16:14:57 +00:00
machine_arm_n8x0.py tests/acceptance: Add a test for the N800 and N810 arm machines 2020-02-28 16:14:57 +00:00
machine_avr6.py tests/acceptance: Test the Arduino MEGA2560 board 2020-07-11 11:02:05 +02:00
machine_m68k_nextcube.py tests/acceptance: Use .ppm extention for Portable PixMap files 2020-10-26 09:54:16 +01:00
machine_mips_malta.py tests/acceptance: skip multicore mips_malta tests on GitLab 2020-07-11 15:53:00 +01:00
machine_rx_gdbsim.py tests/acceptance: disable machine_rx_gdbsim on GitLab 2020-10-09 17:27:55 +01:00
machine_sparc64_sun4u.py tests/acceptance: Add a test for the sun4u sparc64 machine 2020-07-06 09:32:59 +02:00
machine_sparc_leon3.py tests/acceptance/machine_sparc_leon3: Disable HelenOS test 2020-04-06 20:03:14 +02:00
migration.py tests/acceptance/migration.py: Wait for both sides 2020-05-31 18:25:31 +02:00
pc_cpu_hotplug_props.py pc: Don't make die-id mandatory unless necessary 2019-09-03 14:39:46 -03:00
ppc_prep_40p.py test/acceptance: Remove the CONTINUOUS_INTEGRATION tags 2020-10-26 09:54:16 +01:00
README.rst Add functional/acceptance tests infrastructure 2018-06-15 16:10:11 -03:00
replay_kernel.py tests/acceptance: Add MIPS record/replay tests 2020-10-17 13:59:40 +02:00
reverse_debugging.py tests/acceptance: add reverse debugging test 2020-10-06 08:34:50 +02:00
version.py tests/acceptance/version: Default to -nodefaults 2020-02-07 15:12:48 +01:00
virtio_check_params.py tests/acceptance: Remove shebang header 2020-02-07 15:12:48 +01:00
virtio_version.py python/qemu: split QEMUMachine out from underneath __init__.py 2019-07-01 19:02:10 -03:00
vnc.py VNC Acceptance test: simplify test names 2019-08-28 21:10:15 -04:00
x86_cpu_model_versions.py tests/acceptance: Remove shebang header 2020-02-07 15:12:48 +01:00

============================================
Acceptance tests using the Avocado Framework
============================================

This directory contains functional tests, also known as acceptance
level 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 "Acceptance tests using the Avocado Framework".