Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 933b4c333c8f9a78280def62bab55eee5a6b2456
      
https://github.com/tianocore/edk2/commit/933b4c333c8f9a78280def62bab55eee5a6b2456
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M MdePkg/Include/Base.h

  Log Message:
  -----------
  MdePkg/Include: Update Base.h to improve C++ compatibility

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

* Map NULL to nullptr or __null when c++ compiler is used.
* Map STATIC_ASSERT to static_assert when a c++ compiler is used.
* Typecast RETURN_SUCCESS to type RETURN_STATUS to match type used
  by all return error/warning status codes.  C++ has stricter type
  checking and found this inconsistency.

Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang....@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>
Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn>


  Commit: c1b073a9dccc11fbd9fdfd69f76de6e972ad1550
      
https://github.com/tianocore/edk2/commit/c1b073a9dccc11fbd9fdfd69f76de6e972ad1550
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M MdePkg/Include/Library/DebugLib.h

  Log Message:
  -----------
  MdePkg/Include/Library: Undefine _ASSERT() if already defined

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

When unit testing is enabled, make sure _ASSERT() is not already
defined by the host environment before defining _ASSERT().  This
avoids conflicts with VS20xx builds of GoogleTest based unit tests.

Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang....@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>
Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn>


  Commit: cef0c5c68427f4e93dc9c4135a8e60018f2307b5
      
https://github.com/tianocore/edk2/commit/cef0c5c68427f4e93dc9c4135a8e60018f2307b5
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M .gitmodules
    M ReadMe.rst
    A UnitTestFrameworkPkg/Include/Library/GoogleTestLib.h
    A UnitTestFrameworkPkg/Library/GoogleTestLib/GoogleTestLib.inf
    A UnitTestFrameworkPkg/Library/GoogleTestLib/GoogleTestLib.uni
    A UnitTestFrameworkPkg/Library/GoogleTestLib/googletest
    M UnitTestFrameworkPkg/ReadMe.md
    A 
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogleTest.cpp
    A 
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogleTestHost.inf
    M UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc
    M UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
    M UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
    M UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc

  Log Message:
  -----------
  UnitTestFrameworkPkg: Add googletest submodule and GoogleTestLib

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

Add submodule for googletest and add GoogleTestLib that is
required for GoogleTest based unit tests. Add GoogleTest
documentation to Readme.md along with a port of the sample
unit test to the GoogleTest style.

A few typos in Readme.md are also fixed.

Cc: Michael Kubacki <mikub...@linux.microsoft.com>
Cc: Sean Brogan <sean.bro...@microsoft.com>
Cc: Andrew Fish <af...@apple.com>
Cc: Leif Lindholm <quic_llind...@quicinc.com>
Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>
Reviewed-by: Michael Kubacki <mikub...@linux.microsoft.com>
Acked-by: Leif Lindholm <quic_llind...@quicinc.com>


  Commit: d4586fe3ae588c822b8656541b1f6fbe17dcba5a
      
https://github.com/tianocore/edk2/commit/d4586fe3ae588c822b8656541b1f6fbe17dcba5a
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf

  Log Message:
  -----------
  UnitTestFrameworkPkg/Library/CmockaLib: Generate symbol information

Add /Zi to CC_FLAGS in CmockaLib.inf to enable symbol information

Cc: Michael Kubacki <mikub...@linux.microsoft.com>
Cc: Sean Brogan <sean.bro...@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>
Reviewed-by: Michael Kubacki <mikub...@linux.microsoft.com>


  Commit: 80f097711b6887caec1b67e04ddf8779acb92883
      
https://github.com/tianocore/edk2/commit/80f097711b6887caec1b67e04ddf8779acb92883
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M .pytool/CISettings.py

  Log Message:
  -----------
  .pytool: Add googletest submodule to CISettings.py

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

Cc: Sean Brogan <sean.bro...@microsoft.com>
Cc: Michael Kubacki <mikub...@linux.microsoft.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>
Reviewed-by: Michael Kubacki <mikub...@linux.microsoft.com>


  Commit: 31377aba8f4e126266251bc53bc148599bb4565a
      
https://github.com/tianocore/edk2/commit/31377aba8f4e126266251bc53bc148599bb4565a
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py

  Log Message:
  -----------
  BaseTools/Plugin/HostBaseUnitTestRunner: Enable gtest xml output

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

Set environment variable GTEST_OUTPUT to specify the output
format of XML and the output file name.  Both CMOCKA_XML_FILE
and GTEST_OUTPUT are set for each host based unit test to
support both cmocka unit tests and gtest unit tests.

Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.c...@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>
Reviewed-by: Bob Feng <bob.c.f...@intel.com>


  Commit: 6d55ad9a592ba3bbc9392a67fd8c936279b73a45
      
https://github.com/tianocore/edk2/commit/6d55ad9a592ba3bbc9392a67fd8c936279b73a45
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    A MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/GoogleTestBaseSafeIntLib.inf
    A MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/GoogleTestBaseSafeIntLib.uni
    A 
MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/SafeIntLibUintnIntnUnitTests32.cpp
    A 
MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/SafeIntLibUintnIntnUnitTests64.cpp
    A MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.cpp
    M MdePkg/Test/MdePkgHostTest.dsc

  Log Message:
  -----------
  MdePkg/Test: Add port of BaseSafeIntLib unit tests to GoogleTest

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

Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang....@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>
Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn>


Compare: https://github.com/tianocore/edk2/compare/3182843f3bc9...6d55ad9a592b


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to