Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tests/avocado: ppc test VOF bios Linux boot
VOF is the new lightweight fast pseries bios. Add a Linux boot test
using VOF.

More tests could be moved to use VOF becasue it's much faster, but
just dip one toe in the water first here. SLOF should continue to be
tested too.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
  • Loading branch information
npiggin authored and legoater committed Jun 25, 2023
1 parent 1778353 commit 5eb63b8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/avocado/ppc_pseries.py
Expand Up @@ -29,6 +29,17 @@ def do_test_ppc64_linux_boot(self):
'-append', kernel_command_line)
self.vm.launch()

def test_ppc64_vof_linux_boot(self):
"""
:avocado: tags=arch:ppc64
:avocado: tags=machine:pseries
"""

self.vm.add_args('-machine', 'x-vof=on')
self.do_test_ppc64_linux_boot()
console_pattern = 'VFS: Cannot open root device'
wait_for_console_pattern(self, console_pattern, self.panic_message)

def test_ppc64_linux_boot(self):
"""
:avocado: tags=arch:ppc64
Expand Down

0 comments on commit 5eb63b8

Please sign in to comment.