aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>2021-07-27 11:45:29 +0300
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2021-09-27 18:51:40 +0200
commitce9771f5a4003d93e0afd3f7397740219713c875 (patch)
tree970caac60ce9f18ca14a92e78f11375b04a6e04f /tests
parent27f551135ea897928e29f12fc035d68f2bf6216c (diff)
downloadqemu-ce9771f5a4003d93e0afd3f7397740219713c875.zip
qemu-ce9771f5a4003d93e0afd3f7397740219713c875.tar.gz
qemu-ce9771f5a4003d93e0afd3f7397740219713c875.tar.bz2
tests/acceptance: add replay kernel test for nios2
This patch adds record/replay test which boots Linux kernel on nios2 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: <162737552919.1735673.12493523185952280539.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 1bf7e99..9325181 100644
--- a/tests/acceptance/replay_kernel.py
+++ b/tests/acceptance/replay_kernel.py
@@ -328,6 +328,17 @@ class ReplayKernelNormal(ReplayKernelBase):
file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
self.do_test_advcal_2018(file_path, 'vmlinux')
+ def test_nios2_10m50(self):
+ """
+ :avocado: tags=arch:nios2
+ :avocado: tags=machine:10m50-ghrd
+ """
+ tar_hash = 'e4251141726c412ac0407c5a6bceefbbff018918'
+ tar_url = ('https://www.qemu-advent-calendar.org'
+ '/2018/download/day14.tar.xz')
+ file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
+ self.do_test_advcal_2018(file_path, 'vmlinux.elf')
+
def test_ppc_g3beige(self):
"""
:avocado: tags=arch:ppc