From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web10.3935.1596654732973160607 for ; Wed, 05 Aug 2020 12:12:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@corthon-com.20150623.gappssmtp.com header.s=20150623 header.b=tZuO9AGU; spf=none, err=permanent DNS error (domain: corthon.com, ip: 209.85.210.178, mailfrom: bret@corthon.com) Received: by mail-pf1-f178.google.com with SMTP id d22so5034135pfn.5 for ; Wed, 05 Aug 2020 12:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corthon-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JOqxoL/IkGa8YYEDj6idSAz/RduvKN/kuAA5VhlqXEI=; b=tZuO9AGU53WAzBOucaL8/bv8ITUeKz9sPZmiyeHiA89R7P5Wwa9gvSxKXlbwj4w23D P0fn18qcu5KoRQgrt2fHvAaypfWOQjhTcoObCYNry5VaO2/5Cwun9ewoqu23re9baH4m RHVA+FnnzZPEjKHgKukoJlhYfXbTiWx2s/PuDIRnYrf5vhmSPfCJDPVHil/Y3UaSoiM0 6QGVXs7VzANkjYrB6Iibsvtnz9IR5RLi0zTnuYfQGSouxBv4e++ZuxJPrB4fIT6Rmvrq HKfa2Bqs1xEh4gM8HR/fjCqFl8finH0P69mnrpmOQji4xFcFnE9cZK/SbTWM+kePXpWL VcRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JOqxoL/IkGa8YYEDj6idSAz/RduvKN/kuAA5VhlqXEI=; b=gc33SckgxpPZICOUS0J1yP6oTsh/hXypnaoIx2fA3sfzJMoHDdqN+QGgajlEAMxzwz 4KvZrrMaE8zgnUqRJSuwhlYoJAekTDTNfTm4rCWjU/+yHEkJ66OGECFyRv6Zg/EQOf4/ Ira87ri/DCdn//sfjl1r13RahsD2OsJxnV7rDyTmTICYk4h8ix7tRBx0X2PCrjuweh8w RKaaNdSjxyyvjX3mpk03CdBPXtS3kE91t/YmlF28JW5VaU9np0hadTWv5pF1NHKt3HFb TG1f00mu8Mb25pKqYEOcVPh6zl/jKHV2TCTziWN2AucsGFgVQOQ4noSXo20kEC1qPLkj DoIg== X-Gm-Message-State: AOAM532GcgplZLwfKN++llxAF9mUePf+9brhlfK2u4Joq4cIQLDGBLnX jdPD4lvWec7pWuQyRLr9Pe8XVjEeFy0= X-Google-Smtp-Source: ABdhPJxrPGYUeD27AZgBsdrm93KfAo8dlbJp2qpB4pdmrn7AMqo78Qpo0vDHpufgDnPorBfFR4QAVg== X-Received: by 2002:a63:471b:: with SMTP id u27mr4227075pga.139.1596654732213; Wed, 05 Aug 2020 12:12:12 -0700 (PDT) Return-Path: Received: from localhost.localdomain (174-21-66-92.tukw.qwest.net. [174.21.66.92]) by smtp.gmail.com with ESMTPSA id s8sm3707771pju.54.2020.08.05.12.12.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2020 12:12:11 -0700 (PDT) From: "Bret Barkelew" X-Google-Original-From: Bret Barkelew To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao Subject: [PATCH v2 1/2] .pytool/Plugin: Enable BUILDREPORT on server CI builds Date: Wed, 5 Aug 2020 12:11:47 -0700 Message-Id: <20200805191148.1455-2-brbarkel@microsoft.com> X-Mailer: git-send-email 2.27.0.windows.1 In-Reply-To: <20200805191148.1455-1-brbarkel@microsoft.com> References: <20200805191148.1455-1-brbarkel@microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Update the CI invocable that builds host-based unit tests to make sure that BUILDREPORT is built for all tests. This is useful for determining which libraries were consumed in the build. Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Bret Barkelew --- .pytool/Plugin/CompilerPlugin/CompilerPlugin.py | = 2 ++ .pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.py | = 2 ++ 2 files changed, 4 insertions(+) diff --git a/.pytool/Plugin/CompilerPlugin/CompilerPlugin.py b/.pytool/Plug= in/CompilerPlugin/CompilerPlugin.py index e8657940d71b..e804fd5ed89a 100644 --- a/.pytool/Plugin/CompilerPlugin/CompilerPlugin.py +++ b/.pytool/Plugin/CompilerPlugin/CompilerPlugin.py @@ -54,6 +54,8 @@ class CompilerPlugin(ICiBuildPlugin): # - output_stream the StringIO output stream from this plugin via lo= gging=0D def RunBuildPlugin(self, packagename, Edk2pathObj, pkgconfig, environm= ent, PLM, PLMHelper, tc, output_stream=3DNone):=0D self._env =3D environment=0D + environment.SetValue("BUILDREPORTING", "TRUE", "Set in CompilerPlu= gin")=0D + environment.SetValue("BUILDREPORT_TYPES", "PCD DEPEX LIBRARY BUILD= _FLAGS", "Set in CompilerPlugin")=0D =0D # Parse the config for required DscPath element=0D if "DscPath" not in pkgconfig:=0D diff --git a/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompiler= Plugin.py b/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerP= lugin.py index f21b40caf291..43abd1f4795b 100644 --- a/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.= py +++ b/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.= py @@ -86,6 +86,8 @@ class HostUnitTestCompilerPlugin(ICiBuildPlugin): def RunBuildPlugin(self, packagename, Edk2pathObj, pkgconfig, environm= ent, PLM, PLMHelper, tc, output_stream=3DNone):=0D self._env =3D environment=0D environment.SetValue("CI_BUILD_TYPE", "host_unit_test", "Set in Ho= stUnitTestCompilerPlugin")=0D + environment.SetValue("BUILDREPORTING", "TRUE", "Set in HostUnitTes= tCompilerPlugin")=0D + environment.SetValue("BUILDREPORT_TYPES", "PCD DEPEX LIBRARY BUILD= _FLAGS", "Set in HostUnitTestCompilerPlugin")=0D =0D # Parse the config for required DscPath element=0D if "DscPath" not in pkgconfig:=0D --=20 2.27.0.windows.1