[all-commits] [llvm/llvm-project] 9902fc: [libc] Enable custom logging in LibcTest

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Wed Jun 14 06:38:09 PDT 2023


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

  Changed paths:
    M libc/test/UnitTest/FPMatcher.h
    M libc/test/UnitTest/LibcTest.cpp
    M libc/test/UnitTest/LibcTest.h
    M libc/test/UnitTest/TestLogger.cpp
    M libc/test/src/math/exhaustive/acosf_test.cpp
    M libc/test/src/math/exhaustive/acoshf_test.cpp
    M libc/test/src/math/exhaustive/asinf_test.cpp
    M libc/test/src/math/exhaustive/asinhf_test.cpp
    M libc/test/src/math/exhaustive/atanf_test.cpp
    M libc/test/src/math/exhaustive/atanhf_test.cpp
    M libc/test/src/math/exhaustive/cosf_test.cpp
    M libc/test/src/math/exhaustive/coshf_test.cpp
    M libc/test/src/math/exhaustive/exp10f_test.cpp
    M libc/test/src/math/exhaustive/exp2f_test.cpp
    M libc/test/src/math/exhaustive/expf_test.cpp
    M libc/test/src/math/exhaustive/expm1f_test.cpp
    M libc/test/src/math/exhaustive/hypotf_test.cpp
    M libc/test/src/math/exhaustive/log10f_test.cpp
    M libc/test/src/math/exhaustive/log1pf_test.cpp
    M libc/test/src/math/exhaustive/log2f_test.cpp
    M libc/test/src/math/exhaustive/logf_test.cpp
    M libc/test/src/math/exhaustive/sincosf_test.cpp
    M libc/test/src/math/exhaustive/sinf_test.cpp
    M libc/test/src/math/exhaustive/sinhf_test.cpp
    M libc/test/src/math/exhaustive/tanf_test.cpp
    M libc/test/src/math/exhaustive/tanhf_test.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