[libc][NFC] Simplify LibcTest and trim down string allocations
authorGuillaume Chatelet <gchatelet@google.com>
Fri, 9 Jun 2023 09:27:36 +0000 (09:27 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Fri, 9 Jun 2023 09:36:18 +0000 (09:36 +0000)
commitfd2c74c8ed9d311840df5ce2e9106cab2d681212
tree39a2e0df4e5d11671eccf8ea0da7de9f05cc4c28
parent185f2aefea84075d472b91fba2bc0dbf0b5c55dd
[libc][NFC] Simplify LibcTest and trim down string allocations

This is a bit of cleanup before working on logging via stream operator (i.e., `EXPECT_XXX() << ...`).

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D152503
libc/test/UnitTest/FPMatcher.h
libc/test/UnitTest/LibcTest.cpp
libc/test/UnitTest/LibcTest.h