mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
tests/functional: Convert Aarch64 Raspi3 avocado tests
Straight forward conversion. Update the SHA1 hashes to SHA256 hashes since SHA1 should not be used anymore nowadays. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240826221058.75126-4-philmd@linaro.org> [thuth: Use the LinuxKernelTest class] Message-ID: <20240906180549.792832-11-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
165ab27447
commit
471f7ff715
4 changed files with 43 additions and 23 deletions
|
@ -979,29 +979,6 @@ class BootLinuxConsole(LinuxKernelTest):
|
|||
# Wait for user-space
|
||||
wait_for_console_pattern(self, 'Starting root file system check')
|
||||
|
||||
def test_aarch64_raspi3_atf(self):
|
||||
"""
|
||||
:avocado: tags=accel:tcg
|
||||
:avocado: tags=arch:aarch64
|
||||
:avocado: tags=machine:raspi3b
|
||||
:avocado: tags=cpu:cortex-a53
|
||||
:avocado: tags=device:pl011
|
||||
:avocado: tags=atf
|
||||
"""
|
||||
zip_url = ('https://github.com/pbatard/RPi3/releases/download/'
|
||||
'v1.15/RPi3_UEFI_Firmware_v1.15.zip')
|
||||
zip_hash = '74b3bd0de92683cadb14e008a7575e1d0c3cafb9'
|
||||
zip_path = self.fetch_asset(zip_url, asset_hash=zip_hash)
|
||||
|
||||
archive.extract(zip_path, self.workdir)
|
||||
efi_fd = os.path.join(self.workdir, 'RPI_EFI.fd')
|
||||
|
||||
self.vm.set_console(console_index=1)
|
||||
self.vm.add_args('-nodefaults',
|
||||
'-device', 'loader,file=%s,force-raw=true' % efi_fd)
|
||||
self.vm.launch()
|
||||
self.wait_for_console_pattern('version UEFI Firmware v1.15')
|
||||
|
||||
def test_alpha_clipper(self):
|
||||
"""
|
||||
:avocado: tags=arch:alpha
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue