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
fpclassify_test.cpp
fpclassifyf_test.cpp
fpclassifyl_test.cpp
FpClassifyTest.h
header-test-template.c
iscanonical_test.c [libc] Fix SPDX-License-Identifier file header comment typos (#122776) 2025-01-14 10:53:41 -08:00
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 [libc] Fix SPDX-License-Identifier file header comment typos (#122776) 2025-01-14 10:53:41 -08:00
IsFiniteTest.h
isinf_test.c
isinf_test.cpp
isinff_test.cpp
isinfl_test.cpp [libc] Fix SPDX-License-Identifier file header comment typos (#122776) 2025-01-14 10:53:41 -08:00
IsInfTest.h
isnan_test.c
isnan_test.cpp [libc] Fix SPDX-License-Identifier file header comment typos (#122776) 2025-01-14 10:53:41 -08:00
isnanf_test.cpp
isnanl_test.cpp
IsNanTest.h [libc][math] implement signbit and math macro unit tests (#97791) 2024-07-13 23:01:36 -04:00
isnormal_test.c
isnormal_test.cpp
isnormalf_test.cpp [libc] Fix SPDX-License-Identifier file header comment typos (#122776) 2025-01-14 10:53:41 -08:00
isnormall_test.cpp
IsNormalTest.h
issignaling_test.c
issubnormal_test.c
issubnormal_test.cpp [libc] Fix SPDX-License-Identifier file header comment typos (#122776) 2025-01-14 10:53:41 -08:00
issubnormalf_test.cpp [libc] Fix SPDX-License-Identifier file header comment typos (#122776) 2025-01-14 10:53:41 -08:00
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 [libc] Fix SPDX-License-Identifier file header comment typos (#122776) 2025-01-14 10:53:41 -08:00
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
stdbit_test.cpp
stdckdint_test.cpp [libc] Fix SPDX-License-Identifier file header comment typos (#122776) 2025-01-14 10:53:41 -08:00
unistd_macros_test.cpp [libc] Define _POSIX_THREADS and support _SC_THREADS in sysconf (#201091) 2026-06-02 13:15:59 +00:00