[libc] Fix some missing features from the hermetic test support
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 2 May 2023 11:39:14 +0000 (06:39 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 2 May 2023 14:40:24 +0000 (09:40 -0500)
commit2353b52eae71ffa3993d21f0bed0c571cf2e0c79
tree76d1c287d8539afc5e6dfd9a3739baf24a54b882
parentd755e10e7ac8abe7031c3f119df93541c0a78551
[libc] Fix some missing features from the hermetic test support

This patch addresses some of the flags and features that are currently
missing from the hermetic test support. This mostly just fixes the
`add_libc_test` option failing to find a few dependencies or missing
arguments from the previous unit test support.

Reviewed By: lntue

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