[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 2/6] tests/acceptance: add replay kernel test for ppc64
From: |
Pavel Dovgalyuk |
Subject: |
[PATCH v2 2/6] tests/acceptance: add replay kernel test for ppc64 |
Date: |
Fri, 25 Jun 2021 08:39:09 +0300 |
User-agent: |
StGit/0.23 |
This patch adds record/replay test which boots Linux
kernel on ppc64 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 | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/tests/acceptance/replay_kernel.py
b/tests/acceptance/replay_kernel.py
index cdc22cb6d3..7e7f4c8ccc 100644
--- a/tests/acceptance/replay_kernel.py
+++ b/tests/acceptance/replay_kernel.py
@@ -367,6 +367,19 @@ def test_xtensa_lx60(self):
self.do_test_advcal_2018(file_path, 'santas-sleigh-ride.elf',
args=('-cpu', 'dc233c'))
+ def test_ppc64_e500(self):
+ """
+ :avocado: tags=arch:ppc64
+ :avocado: tags=machine:ppce500
+ :avocado: tags=cpu:e5500
+ """
+ tar_hash = '6951d86d644b302898da2fd701739c9406527fe1'
+ tar_url = ('https://www.qemu-advent-calendar.org'
+ '/2018/download/day19.tar.xz')
+ file_path = self.fetch_asset(tar_url, asset_hash=tar_hash)
+ self.do_test_advcal_2018(file_path, 'uImage', ('-cpu', 'e5500'))
+
+
@skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout')
class ReplayKernelSlow(ReplayKernelBase):
# Override the timeout, because this kernel includes an inner
- [PATCH v2 0/6] More record/replay acceptance tests, Pavel Dovgalyuk, 2021/06/25
- [PATCH v2 1/6] tests/acceptance: add replay kernel test for s390, Pavel Dovgalyuk, 2021/06/25
- [PATCH v2 2/6] tests/acceptance: add replay kernel test for ppc64,
Pavel Dovgalyuk <=
- [PATCH v2 3/6] tests/acceptance: add replay kernel test for openrisc, Pavel Dovgalyuk, 2021/06/25
- [PATCH v2 4/6] tests/acceptance: add replay kernel test for nios2, Pavel Dovgalyuk, 2021/06/25
- [PATCH v2 5/6] tests/acceptance: add replay kernel test for alpha, Pavel Dovgalyuk, 2021/06/25
- [PATCH v2 6/6] tests/acceptance: Linux boot test for record/replay, Pavel Dovgalyuk, 2021/06/25