From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id B429178003C for ; Tue, 24 Oct 2023 01:05:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=/P+cb+TgztjCUENgxYjw3iJaO01yTm8fvghRQwKqa9Y=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20140610; t=1698109527; v=1; b=nKCwyxRif94FFWZ+h1EluR8bZXmMjcWF6aSdZ6RvqJiVR/JYXnJe2O6iGnfIwumkZIy9Tbgo oeOPvbX7wGWlIND76hTXAeN5CUqiMhQ6OqvAduPH2/46YjZVnshPwbJmwjNuWwspgb49NedGGE8 KDlQ9MdSPiA1dK1neLA0YMDE= X-Received: by 127.0.0.2 with SMTP id WUJIYY7687511xtOpL81d0C4; Mon, 23 Oct 2023 18:05:27 -0700 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web11.8300.1698109524031485867 for ; Mon, 23 Oct 2023 18:05:26 -0700 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 27381DDA7EC for ; Tue, 24 Oct 2023 09:04:42 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 22CA3DDA7E5 for ; Tue, 24 Oct 2023 09:04:42 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id 755A7DDA7EF for ; Tue, 24 Oct 2023 09:04:39 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Tue, 24 Oct 2023 09:04:34 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: , Cc: "'Rebecca Cran'" , "'Bob Feng'" References: <20230922064708.1843-1-yuwei.chen@intel.com> In-Reply-To: <20230922064708.1843-1-yuwei.chen@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMV0gQmFzZVRvb2xzOiB0cmltIHdhcm5pbmcgdG8gZXJyb3I=?= Date: Tue, 24 Oct 2023 09:04:35 +0800 Message-ID: <017b01da0616$0e09a050$2a1ce0f0$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQJnIfiN5QKp3HURtwG7r0C+5SndDK896CdQ Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 3aFogfyiAoh5hhqyWkkXffzKx7686176AA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=nKCwyxRi; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Yuwei Chen > =B7=A2=CB=CD=CA=B1=BC=E4: 2023=C4=EA9=D4=C222=C8=D5 14:47 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Rebecca Cran ; Liming Gao > ; Bob Feng > =D6=F7=CC=E2: [edk2-devel] [PATCH 1/1] BaseTools: trim warning to error >=20 > As the error is changed to warning, Trim.py will skip the build > error when the source code have exactly issue. > This patch change warning to error to opens the checking. >=20 > Cc: Rebecca Cran > Cc: Liming Gao > Cc: Bob Feng > Signed-off-by: Yuwei Chen > --- > BaseTools/Source/Python/Trim/Trim.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/BaseTools/Source/Python/Trim/Trim.py > b/BaseTools/Source/Python/Trim/Trim.py > index c479f7d2b2e7..416935df5e90 100644 > --- a/BaseTools/Source/Python/Trim/Trim.py > +++ b/BaseTools/Source/Python/Trim/Trim.py > @@ -281,10 +281,10 @@ def DoInclude(Source, Indent=3D'', IncludePathList= =3D[], > LocalSearchPath=3DNone, Inclu > F =3D File.readlines() > break > else: > - EdkLogger.warn("Trim", "Failed to find include file %s" % > Source) > + EdkLogger.error("Trim", "Failed to find include file %s" % > Source) > return [] > except: > - EdkLogger.warn("Trim", FILE_OPEN_FAILURE, ExtraData=3DSource) > + EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=3DSource) > return [] >=20 >=20 > -- > 2.27.0.windows.1 >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109969): https://edk2.groups.io/g/devel/message/109969 Mute This Topic: https://groups.io/mt/102149316/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-