Skip to content

Commit

Permalink
tests/acceptance: add replay kernel test for openrisc
Browse files Browse the repository at this point in the history
This patch adds record/replay test which boots Linux
kernel on openrisc platform. The test uses kernel binaries
taken from boot_linux_console test.

Signed-off-by: Pavel Dovgalyuk <[email protected]>
Reviewed-by: Willian Rampazzo <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <162737552350.1735673.14603125561530143423.stgit@pasha-ThinkPad-X280>
  • Loading branch information
Dovgalyuk authored and philmd committed Sep 27, 2021
1 parent f7ade77 commit 27f5511
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/acceptance/replay_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,17 @@ def test_ppc64_e500(self):
file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
self.do_test_advcal_2018(file_path, 'uImage')

def test_or1k_sim(self):
"""
:avocado: tags=arch:or1k
:avocado: tags=machine:or1k-sim
"""
tar_hash = '20334cdaf386108c530ff0badaecc955693027dd'
tar_url = ('https://www.qemu-advent-calendar.org'
'/2018/download/day20.tar.xz')
file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
self.do_test_advcal_2018(file_path, 'vmlinux')

def test_ppc_g3beige(self):
"""
:avocado: tags=arch:ppc
Expand Down

0 comments on commit 27f5511

Please sign in to comment.