[libc-commits] [PATCH] D152630: [libc] Enable custom logging in LibcTest

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Sat Jun 10 13:36:28 PDT 2023


gchatelet created this revision.
gchatelet added reviewers: sivachandra, lntue, michaelrj.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
gchatelet requested review of this revision.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152630

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152630.530245.patch
Type: text/x-patch
Size: 26784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230610/4fa70eb4/attachment-0001.bin>


More information about the libc-commits mailing list