[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/6] tests/acceptance: add replay kernel test for nios2
From: |
Pavel Dovgalyuk |
Subject: |
[PATCH 4/6] tests/acceptance: add replay kernel test for nios2 |
Date: |
Thu, 10 Jun 2021 14:25:05 +0300 |
User-agent: |
StGit/0.23 |
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>
---
tests/acceptance/replay_kernel.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tests/acceptance/replay_kernel.py
b/tests/acceptance/replay_kernel.py
index c1e80ab5ad..8ada87f8c9 100644
--- a/tests/acceptance/replay_kernel.py
+++ b/tests/acceptance/replay_kernel.py
@@ -330,6 +330,17 @@ def test_or1k_sim(self):
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
- [PATCH 0/6] More record/replay acceptance tests, Pavel Dovgalyuk, 2021/06/10
- [PATCH 1/6] tests/acceptance: add replay kernel test for s390, Pavel Dovgalyuk, 2021/06/10
- [PATCH 2/6] tests/acceptance: add replay kernel test for ppc64, Pavel Dovgalyuk, 2021/06/10
- [PATCH 3/6] tests/acceptance: add replay kernel test for openrisc, Pavel Dovgalyuk, 2021/06/10
- [PATCH 4/6] tests/acceptance: add replay kernel test for nios2,
Pavel Dovgalyuk <=
- [PATCH 5/6] tests/acceptance: add replay kernel test for alpha, Pavel Dovgalyuk, 2021/06/10
- [PATCH 6/6] tests/acceptance: Linux boot test for record/replay, Pavel Dovgalyuk, 2021/06/10
- Re: [PATCH 0/6] More record/replay acceptance tests, Pavel Dovgalyuk, 2021/06/22