Previously, only those unit tests which belonged to a suite were run as
part of libc-unit-tests. It meant that unit tests not part of any suite
were not being tested. This change makes all unit tests run as part of
libc-unit-tests. The convenience function to add a libc unit test suite
has been removed and add_custom_target is used in its place. One of the
bit-rotting test has along been fixed. Math exhaustive and differential
tests are skipped under full build.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/test/src/math/CMakeLists.txt | ||
---|---|---|
1575 | is there a better way to do this so that these tests can still be built under fullbuild, even if they aren't part of the default set? |
libc/test/src/math/CMakeLists.txt | ||
---|---|---|
1575 | The exhaustive tests (use MPFR) and differential tests (compare against the system libc) are built against the system libc/system libraries. So, we cannot build them cleanly in the full build mode wherein we assume no system libraries are available. |
is there a better way to do this so that these tests can still be built under fullbuild, even if they aren't part of the default set?