[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/9] tests/acceptance: add record/replay test for aarch64
From: |
Pavel Dovgalyuk |
Subject: |
[PATCH 4/9] tests/acceptance: add record/replay test for aarch64 |
Date: |
Mon, 25 May 2020 14:19:25 +0300 |
User-agent: |
StGit/0.17.1-dirty |
This patch adds a test for record/replay of the kernel
image boot for aarch64 platform.
Signed-off-by: Pavel Dovgalyuk <address@hidden>
---
tests/acceptance/replay_kernel.py | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/tests/acceptance/replay_kernel.py
b/tests/acceptance/replay_kernel.py
index 00abe1e872..1d2cfebc85 100644
--- a/tests/acceptance/replay_kernel.py
+++ b/tests/acceptance/replay_kernel.py
@@ -94,3 +94,21 @@ class ReplayKernel(Test):
console_pattern = 'Kernel command line: %s' % kernel_command_line
self.run_rr(kernel_path, kernel_command_line, console_pattern)
+
+ def test_aarch64_virt(self):
+ """
+ :avocado: tags=arch:aarch64
+ :avocado: tags=machine:virt
+ """
+ kernel_url = ('https://archives.fedoraproject.org/pub/archive/fedora'
+ '/linux/releases/29/Everything/aarch64/os/images/pxeboot'
+ '/vmlinuz')
+ kernel_hash = '8c73e469fc6ea06a58dc83a628fc695b693b8493'
+ kernel_path = self.fetch_asset(kernel_url, asset_hash=kernel_hash)
+
+ kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
+ 'console=ttyAMA0')
+ console_pattern = 'Kernel command line: %s' % kernel_command_line
+
+ self.run_rr(kernel_path, kernel_command_line, console_pattern,
+ args=('-cpu', 'cortex-a53'))
- [PATCH 0/9] Record/replay acceptance tests, Pavel Dovgalyuk, 2020/05/25
- [PATCH 1/9] tests/acceptance: allow console interaction with specific VMs, Pavel Dovgalyuk, 2020/05/25
- [PATCH 2/9] tests/acceptance: add base class record/replay kernel tests, Pavel Dovgalyuk, 2020/05/25
- [PATCH 3/9] tests/acceptance: add kernel record/replay test for x86_64, Pavel Dovgalyuk, 2020/05/25
- [PATCH 4/9] tests/acceptance: add record/replay test for aarch64,
Pavel Dovgalyuk <=
- [PATCH 5/9] tests/acceptance: add record/replay test for arm, Pavel Dovgalyuk, 2020/05/25
- [PATCH 6/9] tests/acceptance: add record/replay test for ppc64, Pavel Dovgalyuk, 2020/05/25
- [PATCH 7/9] tests/acceptance: add record/replay test for m68k, Pavel Dovgalyuk, 2020/05/25
- [PATCH 8/9] tests/acceptance: record/replay tests with advcal images, Pavel Dovgalyuk, 2020/05/25
- [PATCH 9/9] tests/acceptance: Linux boot test for record/replay, Pavel Dovgalyuk, 2020/05/25
- Re: [PATCH 0/9] Record/replay acceptance tests, no-reply, 2020/05/25