[libc] Remove *TestMain libraries and combine them with the main test libraries.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 16 May 2023 18:02:20 +0000 (18:02 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 16 May 2023 20:55:36 +0000 (20:55 +0000)
commit9d877369b7527785f3fea202fea7525e328780f0
treeff1c93369c61dd42bdc38ae1bae2af180c65f9ed
parent3ae4265b48c51e6c05252607171b76e189fa2e4f
[libc] Remove *TestMain libraries and combine them with the main test libraries.

There are not tests currently which use the main test framework but not
the `main` function from LibcTestMain.cpp. So, this change essentially
simplifies by merging the *TestMain libraries with the main test
libraries.

Reviewed By: michaelrj, jhuber6

Differential Revision: https://reviews.llvm.org/D150698
libc/cmake/modules/LLVMLibCTestRules.cmake
libc/test/UnitTest/CMakeLists.txt