llvm-c166/libc/test/include
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
..
sys
alloca_test.cpp [libc] Implement alloca.h header (#210150) 2026-07-16 21:43:12 +01:00
assert_test.cpp
CMakeLists.txt [libc] Run tests in matching build configurations only (#215333) 2026-08-11 18:18:40 +02:00
complex_test.cpp
fpclassify_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
fpclassify_test.cpp
fpclassifyf_test.cpp
fpclassifyl_test.cpp
FpClassifyTest.h
header-test-template.c
iscanonical_test.c
isfinite_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
isfinite_test.cpp
isfinitef_test.cpp
isfinitel_test.cpp
IsFiniteTest.h
isinf_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
isinf_test.cpp
isinff_test.cpp
isinfl_test.cpp
IsInfTest.h
isnan_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
isnan_test.cpp
isnanf_test.cpp
isnanl_test.cpp
IsNanTest.h
isnormal_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
isnormal_test.cpp
isnormalf_test.cpp
isnormall_test.cpp
IsNormalTest.h
issignaling_test.c
issubnormal_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
issubnormal_test.cpp
issubnormalf_test.cpp
issubnormall_test.cpp
IsSubnormalTest.h
iszero_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
iszero_test.cpp
iszerof_test.cpp
iszerol_test.cpp
IsZeroTest.h
math_constants_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
netinet_in_test.cpp
sched_test.cpp [libc] Convert test framework libraries to standard target infrastructure (#216931) 2026-08-19 10:01:24 +02:00
signbit_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
signbit_test.cpp
signbitf_test.cpp
signbitl_test.cpp
SignbitTest.h
stdbit_stub.h
stdbit_test.c [libc] Add a C unit test framework wrapper and convert existing tests (#213657) 2026-08-04 08:11:20 +02:00
stdbit_test.cpp
stdckdint_test.cpp
unistd_macros_test.cpp