llvm-c166/libc/utils/MPCWrapper
Pavel Labath c318bb43f7
[libc] Convert test framework libraries to standard target infrastructure (#216931)
This makes the test libraries use the same patterns as the regular libc
code. This includes using dot-separated names of libraries and explicit
dependency tracking (although this patch does not make use that yet).

Since this changes the name of the libraries anyway, I took the
opportunity to rename some of them: libraries containing only a single
file now have the same name as that file.

This also resolves the dependency issues in hermetic tests, as
everything now gets packaged into the same .a library (the library
itself could also be removed, but I'm saving that for another patch).

Other changes include:
- moving the C test framework to a separate library, to avoid it getting
pulled in (and causing undefined references) when not used
- moving sched_test's static_assert into a TEST, as the test framework
requires having at least one test. The trick with overriding main() no
longer works because overlay tests no longer create a .a file for the
test frameworks.
- for the same reason, I have removed the main function from
testfilter_test.cpp
- for the same reason, avoid compiling LibcDeathTestExecutors.cpp when 
  subprocess tests are not enabled
2026-08-19 10:01:24 +02:00
..
check_mpc.cpp
CMakeLists.txt [libc] Convert test framework libraries to standard target infrastructure (#216931) 2026-08-19 10:01:24 +02:00
mpc_inc.h
MPCUtils.cpp
MPCUtils.h