[all-commits] [llvm/llvm-project] 9a7b4c: [libc] Enable custom logging in LibcTest

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Wed Jun 14 03:26:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a7b4c934893d6bc571e1ce8efab2127ae5f4e45
      https://github.com/llvm/llvm-project/commit/9a7b4c934893d6bc571e1ce8efab2127ae5f4e45
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M libc/test/UnitTest/LibcTest.cpp
    M libc/test/UnitTest/LibcTest.h
    M libc/test/UnitTest/TestLogger.cpp
    M libc/test/src/math/log10_test.cpp
    M libc/test/src/math/log1p_test.cpp
    M libc/test/src/math/log2_test.cpp
    M libc/test/src/math/log_test.cpp
    M libc/test/src/string/bcopy_test.cpp
    M libc/test/src/string/memmem_test.cpp
    M libc/test/src/string/memmove_test.cpp
    M libc/test/src/string/mempcpy_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.h
    M utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel

  Log Message:
  -----------
  [libc] Enable custom logging in LibcTest

This patch mimics the behavior of Google Test and allow users to log custom messages after all flavors of ASSERT_ / EXPECT_.

Reviewed By: sivachandra, lntue

Differential Revision: https://reviews.llvm.org/D152630




More information about the All-commits mailing list