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.129.124]) by mx.groups.io with SMTP id smtpd.web10.5178.1635930702082145658 for ; Wed, 03 Nov 2021 02:11:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GL+ITluO; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635930701; 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=jNr1LFlCttS3nsYjRyNnSt0TzlBy9ljr/AbJIyMuCsY=; b=GL+ITluOu3B3IH6xueM3ElHORfM3xHUFEk1lRqMcUl4UYh4BGD0BlRorZHxPgC+NJNueaL 28JpdFp3k/hBdBGHUX3o0APrzTYt3wM+FE5Prgob7WtQtJoUYP8STo5X8+byCsj5duxdbZ 8UMiUiFwcek4rY95K0m/egLOkjP5wzo= 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-5-VHFTFHXIPTW4fhhUglRpHA-1; Wed, 03 Nov 2021 05:11:36 -0400 X-MC-Unique: VHFTFHXIPTW4fhhUglRpHA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8EC9F19253C2; Wed, 3 Nov 2021 09:11:34 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.194.99]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7F8F35D9D5; Wed, 3 Nov 2021 09:11:31 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 3D4A91801AA7; Wed, 3 Nov 2021 10:11:23 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Bret Barkelew , Michael D Kinney , Sean Brogan , Gerd Hoffmann , Ard Biesheuvel , Jordan Justen , Liming Gao , Jiewen Yao , Jiewen Yao , Ard Biesheuvel Subject: [PATCH v3 2/7] OvmfPkg/PlatformCI: add QEMU_SKIP Date: Wed, 3 Nov 2021 10:11:18 +0100 Message-Id: <20211103091123.2953172-3-kraxel@redhat.com> In-Reply-To: <20211103091123.2953172-1-kraxel@redhat.com> References: <20211103091123.2953172-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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. Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel 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