From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web09.6739.1634630937912662765 for ; Tue, 19 Oct 2021 01:08:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=F2iC33Nk; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634630937; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vvqAmpgdTMApBF0oUOVIhbFYB0IZ4L85CPZrAYB0hxg=; b=F2iC33NkaAb+dBN51s3/qHDSf/P3kWphRGTKOQHvWuP6NUuuP+kHdiglk+2T3TxgC+0eQr uMdOMeyU0V0IoOCVJZMMOxTvCJm/94CfjI5TP8TddofKatUdfSPCuH9voE4P3Tg5kfkMDT KtWVU+XssZe3roJjq/UKcIpbvhBiPC8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-211-UuPKpLR7OE6eEAxrFpuAqg-1; Tue, 19 Oct 2021 04:08:44 -0400 X-MC-Unique: UuPKpLR7OE6eEAxrFpuAqg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 23E1F10A8E05; Tue, 19 Oct 2021 08:08:43 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9FC1F19C59; Tue, 19 Oct 2021 08:08:39 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 449DB180060E; Tue, 19 Oct 2021 10:08:32 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Gerd Hoffmann , Jiewen Yao , Jordan Justen , Ard Biesheuvel Subject: [PATCH 2/6] OvmfPkg/PlatformCI: add QEMU_SKIP Date: Tue, 19 Oct 2021 10:08:28 +0200 Message-Id: <20211019080832.265545-3-kraxel@redhat.com> In-Reply-To: <20211019080832.265545-1-kraxel@redhat.com> References: <20211019080832.265545-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Skip the qemu boot test in case QEMU_SKIP is set to true. Signed-off-by: Gerd Hoffmann --- 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