public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gerd Hoffmann" <kraxel@redhat.com>
To: devel@edk2.groups.io
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>,
	Michael D Kinney <michael.d.kinney@intel.com>,
	Sean Brogan <sean.brogan@microsoft.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Jordan Justen <jordan.l.justen@intel.com>,
	Liming Gao <gaoliming@byosoft.com.cn>,
	Jiewen Yao <jiewen.yao@intel.com>,
	Jiewen Yao <Jiewen.yao@intel.com>,
	Ard Biesheuvel <ardb@kernel.org>
Subject: [PATCH v3 2/7] OvmfPkg/PlatformCI: add QEMU_SKIP
Date: Wed,  3 Nov 2021 10:11:18 +0100	[thread overview]
Message-ID: <20211103091123.2953172-3-kraxel@redhat.com> (raw)
In-Reply-To: <20211103091123.2953172-1-kraxel@redhat.com>

Skip the qemu boot test in case QEMU_SKIP is set to true.

Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 OvmfPkg/PlatformCI/PlatformBuildLib.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/OvmfPkg/PlatformCI/PlatformBuildLib.py b/OvmfPkg/PlatformCI/PlatformBuildLib.py
index 90ac0b29a892..bfef9849c749 100644
--- a/OvmfPkg/PlatformCI/PlatformBuildLib.py
+++ b/OvmfPkg/PlatformCI/PlatformBuildLib.py
@@ -183,6 +183,11 @@ class PlatformBuilder( UefiBuilder, BuildSettingsManager):
         os.makedirs(VirtualDrive, exist_ok=True)
         OutputPath_FV = os.path.join(self.env.GetValue("BUILD_OUTPUT_BASE"), "FV")
 
+        if (self.env.GetValue("QEMU_SKIP") and
+            self.env.GetValue("QEMU_SKIP").upper() == "TRUE"):
+            logging.info("skipping qemu boot test")
+            return 0
+
         #
         # QEMU must be on the path
         #
-- 
2.31.1


  parent reply	other threads:[~2021-11-03  9:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-03  9:11 [PATCH v3 0/7] OvmfPkg/PlatformCI: hook up AmdSev, Bhyve and Microvm Gerd Hoffmann
2021-11-03  9:11 ` [PATCH v3 1/7] OvmfPkg/PlatformCI: factor out PlatformBuildLib.py Gerd Hoffmann
2021-11-03  9:11 ` Gerd Hoffmann [this message]
2021-11-03 14:03   ` [edk2-devel] [PATCH v3 2/7] OvmfPkg/PlatformCI: add QEMU_SKIP Philippe Mathieu-Daudé
2021-11-03  9:11 ` [PATCH v3 3/7] OvmfPkg/PlatformCI: add BhyveBuild.py Gerd Hoffmann
2021-11-03  9:11 ` [PATCH v3 4/7] OvmfPkg/PlatformCI: add MicrovmBuild.py Gerd Hoffmann
2021-11-03 14:03   ` [edk2-devel] " Philippe Mathieu-Daudé
2021-11-03  9:11 ` [PATCH v3 5/7] OvmfPkg/PlatformCI: add AmdSevBuild.py Gerd Hoffmann
2021-11-03 14:04   ` [edk2-devel] " Philippe Mathieu-Daudé
2021-11-03  9:11 ` [PATCH v3 6/7] OvmfPkg/PlatformCI: dummy grub.efi for AmdSev Gerd Hoffmann
2021-11-09  7:59   ` [edk2-devel] " Dov Murik
2021-11-03  9:11 ` [PATCH v3 7/7] OvmfPkg/PlatformCI: add XenBuild.py Gerd Hoffmann
2021-11-09  7:11 ` [PATCH v3 0/7] OvmfPkg/PlatformCI: hook up AmdSev, Bhyve and Microvm Gerd Hoffmann

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-list 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=20211103091123.2953172-3-kraxel@redhat.com \
    --to=devel@edk2.groups.io \
    /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