[re-reland][libc] Adds string and TestLogger classes, use them in LibcTest
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 3 Apr 2023 13:09:39 +0000 (13:09 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 3 Apr 2023 13:10:30 +0000 (13:10 +0000)
commitf5dcab0d894b139c2882dae617ca1ddc20a72395
treebad7401c254947a50896f5f0dd95d6340ff5aa32
parentfd86789962964a98157e8159c3d95cdc241942e3
[re-reland][libc] Adds string and TestLogger classes, use them in LibcTest

This is an implementation of https://discourse.llvm.org/t/rfc-running-libc-unit-tests-as-integration-tests/69461.

Differential Revision: https://reviews.llvm.org/D147231
libc/src/__support/CPP/CMakeLists.txt
libc/src/__support/CPP/string.h [new file with mode: 0644]
libc/test/UnitTest/CMakeLists.txt
libc/test/UnitTest/LibcTest.cpp
libc/test/UnitTest/LibcTest.h
libc/test/UnitTest/TestLogger.cpp [new file with mode: 0644]
libc/test/UnitTest/TestLogger.h [new file with mode: 0644]
libc/test/src/__support/CPP/CMakeLists.txt
libc/test/src/__support/CPP/string_test.cpp [new file with mode: 0644]
utils/bazel/llvm-project-overlay/libc/BUILD.bazel
utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel