]> git.proxmox.com Git - mirror_edk2.git/commit
UnitTestFrameworkPkg/UnitTestLib: Fix target mode log messages
authorMichael D Kinney <michael.d.kinney@intel.com>
Thu, 11 Jun 2020 00:40:27 +0000 (17:40 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 15 Jul 2020 05:25:21 +0000 (05:25 +0000)
commit425df6923ec00df32bb6f20d1440a2e920f0e1e7
tree27ff95aab8f94a120b0c5fb3d428cd2ae837d5e8
parent77e42ca4dfbf51918d677f32ab64bb99dd07cc40
UnitTestFrameworkPkg/UnitTestLib: Fix target mode log messages

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

Update the log messages generated in target mode to use
FileName instead of FunctionName.  FunctionName is an empty
string so the log messages generated do not provide enough
information to know the source of a unit test failure.

Using FileName combined with LineNumber provides the
right information to identify the location of a unit test
failure.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
UnitTestFrameworkPkg/Library/UnitTestLib/Assert.c