aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>2021-07-27 11:45:23 +0300
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2021-09-27 18:51:40 +0200
commit27f551135ea897928e29f12fc035d68f2bf6216c (patch)
tree4098340bf363388f4c7f6d12264adc78b8c9286d /tests
parentf7ade7793170619cebbe2aeeda6c7baf0516a58c (diff)
tests/acceptance: add replay kernel test for openrisc
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 <Pavel.Dovgalyuk@ispras.ru> Reviewed-by: Willian Rampazzo <willianr@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <162737552350.1735673.14603125561530143423.stgit@pasha-ThinkPad-X280>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/replay_kernel.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_kernel.py
index 06a09d6679..1bf7e997fe 100644
--- a/tests/acceptance/replay_kernel.py
+++ b/tests/acceptance/replay_kernel.py
@@ -317,6 +317,17 @@ class ReplayKernelNormal(ReplayKernelBase):
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