From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: <isar-users@googlegroups.com>
Cc: <amikan@ilbers.de>, <henning.schild@siemens.com>,
<jan.kiszka@siemens.com>, <adriaan.schmidt@siemens.com>,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH v3 7/7] run vm_boot_test against EFI and PC BIOS
Date: Tue, 22 Mar 2022 17:45:25 +0100 [thread overview]
Message-ID: <20220322164525.3950970-8-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20220322164525.3950970-1-felix.moessbauer@siemens.com>
This patch adds a test that boots the combined efi + pcbios
image with pc bios.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
testsuite/cibuilder.py | 4 ++--
testsuite/citest.py | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/testsuite/cibuilder.py b/testsuite/cibuilder.py
index 069a1d93..71e0c1c2 100755
--- a/testsuite/cibuilder.py
+++ b/testsuite/cibuilder.py
@@ -189,7 +189,7 @@ class CIBuilder(Test):
return env['LAYERDIR_' + layer].strip('"')
- def vm_start(self, arch='amd64', distro='buster'):
+ def vm_start(self, arch='amd64', distro='buster', enforce_pcbios=False):
time_to_wait = self.params.get('time_to_wait', default=60)
self.log.info('===================================================')
@@ -213,7 +213,7 @@ class CIBuilder(Test):
os.symlink(os.path.basename(output_file), latest_link)
cmdline = start_vm.format_qemu_cmdline(arch, self.build_dir, distro,
- output_file, None)
+ output_file, None, enforce_pcbios)
cmdline.insert(1, '-nographic')
self.log.info('QEMU boot line: ' + str(cmdline))
diff --git a/testsuite/citest.py b/testsuite/citest.py
index 1138eb2b..ace1c039 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -304,7 +304,10 @@ class VmBootTestFull(CIBaseTest):
def test_amd64_buster(self):
self.init()
+ # test efi boot
self.vm_start('amd64','buster')
+ # test pcbios boot
+ self.vm_start('amd64', 'buster', True)
def test_amd64_focal(self):
self.init()
--
2.30.2
next prev parent reply other threads:[~2022-03-22 16:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-22 16:45 [PATCH v3 0/7] Add support for dual bios + efi disk generation Felix Moessbauer
2022-03-22 16:45 ` [PATCH v3 1/7] Copy efi-plus-pcbios script from OE Felix Moessbauer
2022-03-22 16:45 ` [PATCH v3 2/7] Add ISAR version of biosplusefi WIC plugin Felix Moessbauer
2022-03-28 8:51 ` Henning Schild
2022-03-28 9:11 ` Moessbauer, Felix
2022-03-28 9:20 ` Henning Schild
2022-03-22 16:45 ` [PATCH v3 3/7] wic: make import isarpluginbase work when plugins use each other Felix Moessbauer
2022-03-22 16:45 ` [PATCH v3 4/7] test: add target for efi-plus-pcbios image type Felix Moessbauer
2022-03-22 16:45 ` [PATCH v3 5/7] add support for current debian distros in start_vm.py Felix Moessbauer
2022-03-22 16:45 ` [PATCH v3 6/7] Add pcbios option to start_vm Felix Moessbauer
2022-03-22 16:45 ` Felix Moessbauer [this message]
2022-04-12 12:56 ` [PATCH v3 0/7] Add support for dual bios + efi disk generation Moessbauer, Felix
2022-04-13 8:34 ` Anton Mikanovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220322164525.3950970-8-felix.moessbauer@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=adriaan.schmidt@siemens.com \
--cc=amikan@ilbers.de \
--cc=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox