Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: b4e5860fd5f722cc849265f1fa4ea20b4071fa1d
      
https://github.com/tianocore/edk2/commit/b4e5860fd5f722cc849265f1fa4ea20b4071fa1d
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M UnitTestFrameworkPkg/Include/Library/GoogleTestLib.h

  Log Message:
  -----------
  UnitTestFrameworkPkg/GoogleTestLib: Enhance unit test NULL checks

gtest.h uses standard includes that define NULL to __null. This
is different that the C++ standard that uses nullptr. Redefine
NULL in GoogleTestLib.h to use C++ form of nullptr. This allows
NULL to be used in checks and mocks without explicit typecasts.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>


  Commit: 272c1b2b5f9881c63bde369579116242d639f1b1
      
https://github.com/tianocore/edk2/commit/272c1b2b5f9881c63bde369579116242d639f1b1
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc

  Log Message:
  -----------
  UnitTestFrameworkPkg: Add -pie to ASLCC_FLAGS for unit tests

For Linux/GCC host-based unit tests, -fno-pei is added
to CC_FLAGS and this causes builds of .aslc/.act files for
ACPI tables used in host-based unit tests to fail. Add
-fpie to ASLCC_FLAGS in UnitTestFrameworkPkgHost.dsc.inc
to override this CC_FLAGS setting and resolve the build issue.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>


  Commit: 3f278768fab371ca2d9d2515a85894f8ee3194f9
      
https://github.com/tianocore/edk2/commit/3f278768fab371ca2d9d2515a85894f8ee3194f9
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

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

  Log Message:
  -----------
  BaseTools/HostBasedUnitTestRunner: lcov ignore mismatch errors

Ignore mismatch errors for lcov 2.x in all locations that lcov
is run. When building more complex unit tests, these mismatch
errors are showing up in different phases of the code coverage
collection.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>


  Commit: 50dc5f2f31e144283413f92521d02aa8ce2dc993
      
https://github.com/tianocore/edk2/commit/50dc5f2f31e144283413f92521d02aa8ce2dc993
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M BaseTools/Source/C/GenFw/Elf64Convert.c

  Log Message:
  -----------
  BaseTools/GetFw: Skip R_X86_64_NONE relocations

Building .aslc files in a module for host-based unit
testing in Linux/GCC X64 environments may introduce
relocations for a symbol in a shared library from
lcov or asan.

Update logic to not generate an error message and exit
if the symbol is unknown but the relocation type is
R_X86_64_NONE.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>


  Commit: ecdab102c8495f0daec570f8f8637a807d27e433
      
https://github.com/tianocore/edk2/commit/ecdab102c8495f0daec570f8f8637a807d27e433
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M 
DynamicTablesPkg/Library/Acpi/Common/AcpiCedtLib/GoogleTest/CedtGeneratorGoogleTest.cpp
    M 
DynamicTablesPkg/Library/Acpi/Common/AcpiDbg2Lib/GoogleTest/Dbg2GeneratorGoogleTest.cpp

  Log Message:
  -----------
  DynamicTablesPkg: Use Library/GoogleTestLib.h

Update unit tests to use GoogleTestLib.h instead
of gtest.h so the edk2 extensions for google tests
are always available.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>


  Commit: 953b9d0e574126fb0242112d6ee47d812db20d91
      
https://github.com/tianocore/edk2/commit/953b9d0e574126fb0242112d6ee47d812db20d91
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M MdePkg/Test/GoogleTest/Library/BaseLib/TestBaseLibMain.cpp
    M MdePkg/Test/GoogleTest/Library/BaseLib/TestCheckSum.cpp
    M 
MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/SafeIntLibUintnIntnUnitTests32.cpp
    M 
MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/SafeIntLibUintnIntnUnitTests64.cpp
    M MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.cpp

  Log Message:
  -----------
  MdePkg: Use Library/GoogleTestLib.h

Update unit tests to use GoogleTestLib.h instead
of gtest.h so the edk2 extensions for google tests
are always available.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>


  Commit: 36a71d088b354d5a5a1e38778ead41a39ce1fc18
      
https://github.com/tianocore/edk2/commit/36a71d088b354d5a5a1e38778ead41a39ce1fc18
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M NetworkPkg/Dhcp6Dxe/GoogleTest/Dhcp6DxeGoogleTest.cpp
    M NetworkPkg/Dhcp6Dxe/GoogleTest/Dhcp6IoGoogleTest.cpp
    M NetworkPkg/Ip6Dxe/GoogleTest/Ip6DxeGoogleTest.cpp
    M NetworkPkg/Ip6Dxe/GoogleTest/Ip6OptionGoogleTest.cpp
    M NetworkPkg/UefiPxeBcDxe/GoogleTest/UefiPxeBcDxeGoogleTest.cpp

  Log Message:
  -----------
  NetworkPkg: Use Library/GoogleTestLib.h

Update unit tests to use GoogleTestLib.h instead
of gtest.h so the edk2 extensions for google tests
are always available.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/f93e6a074326...36a71d088b35

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


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

Reply via email to