Second version (ignore the title) of this coming soon to update the regular 
builds and collect the artifacts.

- Bret

From: Bret Barkelew<mailto:[email protected]>
Sent: Monday, August 3, 2020 3:50 PM
To: [email protected]<mailto:[email protected]>
Cc: Sean Brogan<mailto:[email protected]>; Bret 
Barkelew<mailto:[email protected]>; Kinney, Michael 
D<mailto:[email protected]>; liming.gao<mailto:[email protected]>
Subject: [EXTERNAL] [PATCH v2 1/1] .pytool/Plugin/HostUnitTestCompilerPlugin: 
Enable BUILDREPORT on host tests

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 <[email protected]>
Cc: Bret Barkelew <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Liming Gao <[email protected]>
Signed-off-by: Bret Barkelew <[email protected]>
---
 .pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.py 
b/.pytool/Plugin/HostUnitTestCompilerPlugin/HostUnitTestCompilerPlugin.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, environment, 
PLM, PLMHelper, tc, output_stream=None):

         self._env = environment

         environment.SetValue("CI_BUILD_TYPE", "host_unit_test", "Set in 
HostUnitTestCompilerPlugin")

+        environment.SetValue("BUILDREPORTING", "TRUE", "Set in 
HostUnitTestCompilerPlugin")

+        environment.SetValue("BUILDREPORT_TYPES", "PCD DEPEX LIBRARY 
BUILD_FLAGS", "Set in HostUnitTestCompilerPlugin")



         # Parse the config for required DscPath element

         if "DscPath" not in pkgconfig:

--
2.27.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#63680): https://edk2.groups.io/g/devel/message/63680
Mute This Topic: https://groups.io/mt/75978577/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to