]> git.proxmox.com Git - mirror_edk2.git/commit
UnitTestFrameworkPkg: Support FILE_GUID override in host based unit tests
authorMichael D Kinney <michael.d.kinney@intel.com>
Fri, 28 Oct 2022 15:41:34 +0000 (08:41 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 1 Nov 2022 14:44:04 +0000 (14:44 +0000)
commit85dba961c761021755cd2aa6bc98b8e789f751ef
tree97dcd42b1210b56aeba6944b0cdbfee90995bb08
parent720c25ab41400f9a3dfd0742da5a6d237991df5b
UnitTestFrameworkPkg: Support FILE_GUID override in host based unit tests

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4129

Always use the module name with FILE_GUID to generate the host-based
unit test executable image and symbol files.  This allows the same
host-based unit test INF file to be used more than once in a single
DSC file with FILE_GUID override.  This is valuable when there is a
requirement to run the same host-based unit test with different PCD
settings, library mappings, or build options.

Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kubacki <mikuback@linux.microsoft.com>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc