[reland][libc] Adds string and TestLogger classes, use them in LibcTest
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 3 Apr 2023 07:34:35 +0000 (07:34 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 3 Apr 2023 07:35:37 +0000 (07:35 +0000)
commitb82d04ea4b4f26037be369f101ae7011975df486
treeb27b611e6441310a875e4ad7afffaad805c35761
parent52f2bfa41424ec6e8728f7863b4fbeb549893f98
[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