[libc-commits] [PATCH] D148784: [libc] Run all unit tests, irrespective of whether they belong to a test suite.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Apr 20 00:24:23 PDT 2023


sivachandra created this revision.
sivachandra added reviewers: lntue, michaelrj.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148784

Files:
  libc/cmake/modules/LLVMLibCTestRules.cmake
  libc/test/src/__support/CMakeLists.txt
  libc/test/src/__support/CPP/CMakeLists.txt
  libc/test/src/__support/FPUtil/CMakeLists.txt
  libc/test/src/__support/OSUtil/CMakeLists.txt
  libc/test/src/assert/CMakeLists.txt
  libc/test/src/ctype/CMakeLists.txt
  libc/test/src/dirent/CMakeLists.txt
  libc/test/src/errno/CMakeLists.txt
  libc/test/src/fcntl/CMakeLists.txt
  libc/test/src/fenv/CMakeLists.txt
  libc/test/src/inttypes/CMakeLists.txt
  libc/test/src/math/CMakeLists.txt
  libc/test/src/network/CMakeLists.txt
  libc/test/src/pthread/CMakeLists.txt
  libc/test/src/sched/CMakeLists.txt
  libc/test/src/setjmp/CMakeLists.txt
  libc/test/src/signal/CMakeLists.txt
  libc/test/src/spawn/CMakeLists.txt
  libc/test/src/stdio/CMakeLists.txt
  libc/test/src/stdlib/CMakeLists.txt
  libc/test/src/string/CMakeLists.txt
  libc/test/src/sys/mman/linux/CMakeLists.txt
  libc/test/src/sys/random/linux/CMakeLists.txt
  libc/test/src/sys/resource/CMakeLists.txt
  libc/test/src/sys/select/CMakeLists.txt
  libc/test/src/sys/sendfile/CMakeLists.txt
  libc/test/src/sys/stat/CMakeLists.txt
  libc/test/src/sys/utsname/CMakeLists.txt
  libc/test/src/sys/wait/CMakeLists.txt
  libc/test/src/termios/CMakeLists.txt
  libc/test/src/time/CMakeLists.txt
  libc/test/src/unistd/CMakeLists.txt
  libc/test/src/wchar/CMakeLists.txt
  libc/test/utils/FPUtil/x86_long_double_test.cpp
  libc/test/utils/UnitTest/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148784.515232.patch
Type: text/x-patch
Size: 15847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230420/91f87125/attachment-0001.bin>


More information about the libc-commits mailing list