[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 2/8] tests/acceptance: boot_linux_console: Add boot Linux/x86
From: |
Wainer dos Santos Moschetta |
Subject: |
[PATCH v4 2/8] tests/acceptance: boot_linux_console: Add boot Linux/x86 with KVM |
Date: |
Wed, 5 Feb 2020 15:32:44 -0500 |
Added boot Linux on x86_64 test case that launch QEMU with KVM
enabled. Likewise it was added one test for TCG.
Signed-off-by: Wainer dos Santos Moschetta <address@hidden>
---
tests/acceptance/boot_linux_console.py | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/tests/acceptance/boot_linux_console.py
b/tests/acceptance/boot_linux_console.py
index e40b84651b..fc72cdde0d 100644
--- a/tests/acceptance/boot_linux_console.py
+++ b/tests/acceptance/boot_linux_console.py
@@ -51,11 +51,7 @@ class BootLinuxConsole(Test):
os.chdir(cwd)
return self.workdir + path
- def test_x86_64_pc(self):
- """
- :avocado: tags=arch:x86_64
- :avocado: tags=machine:pc
- """
+ def do_test_x86_64_pc(self):
kernel_url = ('https://archives.fedoraproject.org/pub/archive/fedora'
'/linux/releases/29/Everything/x86_64/os/images/pxeboot'
'/vmlinuz')
@@ -70,6 +66,22 @@ class BootLinuxConsole(Test):
console_pattern = 'Kernel command line: %s' % kernel_command_line
self.wait_for_console_pattern(console_pattern)
+ def test_x86_64_pc_kvm(self):
+ """
+ :avocado: tags=arch:x86_64
+ :avocado: tags=machine:pc
+ :avocado: tags=accel:kvm
+ """
+ self.do_test_x86_64_pc()
+
+ def test_x86_64_pc_tcg(self):
+ """
+ :avocado: tags=arch:x86_64
+ :avocado: tags=machine:pc
+ :avocado: tags=accel:tcg
+ """
+ self.do_test_x86_64_pc()
+
def test_mips_malta(self):
"""
:avocado: tags=arch:mips
--
2.24.1
- [PATCH v4 0/8] Acceptance tests: boot Linux with KVM test, Wainer dos Santos Moschetta, 2020/02/05
- [PATCH v4 7/8] tests/acceptance: avocado_qemu: Refactor the handler of 'machine' parameter, Wainer dos Santos Moschetta, 2020/02/05
- [PATCH v4 2/8] tests/acceptance: boot_linux_console: Add boot Linux/x86 with KVM,
Wainer dos Santos Moschetta <=
- [PATCH v4 1/8] tests/acceptance: avocado_qemu: Introduce the 'accel' test parameter, Wainer dos Santos Moschetta, 2020/02/05
- [PATCH v4 6/8] tests/acceptance: boot_linux_console: Add boot Linux/s390x with KVM, Wainer dos Santos Moschetta, 2020/02/05
- [PATCH v4 4/8] python/qemu: accel: Fix kvm_available() on ppc64le, Wainer dos Santos Moschetta, 2020/02/05
- [PATCH v4 8/8] travis.yml: Enable acceptance KVM tests, Wainer dos Santos Moschetta, 2020/02/05
- [PATCH v4 3/8] tests/acceptance: boot_linux_console: Add boot Linux/aarch64 with KVM, Wainer dos Santos Moschetta, 2020/02/05
- [PATCH v4 5/8] test/acceptance: boot_linux_console: Add boot Linux/ppc64le with KVM, Wainer dos Santos Moschetta, 2020/02/05
- Re: [PATCH v4 0/8] Acceptance tests: boot Linux with KVM test, Philippe Mathieu-Daudé, 2020/02/10