From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.31922.1635167997979077877 for ; Mon, 25 Oct 2021 06:19:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QDYn3RcN; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635167997; 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=QDYn3RcNim/Sqzj31OqSZkUz3etyHS+P+jeR+lB1AAjG8GadUhAEA9RKvKprrFpHJnx4Kg RRI7ZMLlvyvcEgdcEVwJlHOrrhi4E4crTNhZqLvy4rePL9OQp5JxJQiwUH3JuA+5uBtn/c khJimqQlEV71G73MSzYAwUG5MwNSaJE= 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-308-VNawxGvBNxCyhb7L5SYIFg-1; Mon, 25 Oct 2021 09:19:54 -0400 X-MC-Unique: VNawxGvBNxCyhb7L5SYIFg-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 78A311926DA1; Mon, 25 Oct 2021 13:19:53 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 387D319D9D; Mon, 25 Oct 2021 13:19:41 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 78BD118007A4; Mon, 25 Oct 2021 15:19:31 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Bret Barkelew , Gerd Hoffmann , Jordan Justen , Jiewen Yao , Ard Biesheuvel , Sean Brogan , Liming Gao , Michael D Kinney Subject: [PATCH v2 2/7] OvmfPkg/PlatformCI: add QEMU_SKIP Date: Mon, 25 Oct 2021 15:19:26 +0200 Message-Id: <20211025131931.129666-3-kraxel@redhat.com> In-Reply-To: <20211025131931.129666-1-kraxel@redhat.com> References: <20211025131931.129666-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