diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-12-13 09:14:38 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-13 11:36:57 +0000 |
commit | 21ee3794074653f8dca68204dd28824d583bbad4 (patch) | |
tree | e87e334ffe29219ac79cbd1650c4d468998dd747 /OvmfPkg/PlatformCI/PlatformBuildLib.py | |
parent | 61be49e0f745dc1ea3e4b912ec1e5f50cfc17bb7 (diff) | |
download | edk2-21ee3794074653f8dca68204dd28824d583bbad4.zip edk2-21ee3794074653f8dca68204dd28824d583bbad4.tar.gz edk2-21ee3794074653f8dca68204dd28824d583bbad4.tar.bz2 |
OvmfPkg/PlatformCI: add QEMU_SKIP
Skip the qemu boot test in case QEMU_SKIP is set to true.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Diffstat (limited to 'OvmfPkg/PlatformCI/PlatformBuildLib.py')
-rw-r--r-- | OvmfPkg/PlatformCI/PlatformBuildLib.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/PlatformCI/PlatformBuildLib.py b/OvmfPkg/PlatformCI/PlatformBuildLib.py index 90ac0b2..bfef984 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
#
|