[libc-commits] [PATCH] D149750: [libc] Enable the '__support' unit tests to be hermetic

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 3 08:02:21 PDT 2023


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

This patch updates the `__support` unit tests to be built as hermetic
tests. The only tests we needed to disable were because of the use of
`realloc` which is not implemented correctly as it doesn't copy the
memory.

Depends on D149745 <https://reviews.llvm.org/D149745>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149750

Files:
  libc/test/src/__support/CMakeLists.txt
  libc/test/src/__support/CPP/CMakeLists.txt
  libc/test/src/__support/FPUtil/CMakeLists.txt
  libc/test/src/__support/File/CMakeLists.txt
  libc/test/src/__support/OSUtil/CMakeLists.txt
  libc/test/src/__support/OSUtil/linux/x86_64/CMakeLists.txt
  libc/test/src/__support/char_vector_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149750.519076.patch
Type: text/x-patch
Size: 7325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230503/9c44476f/attachment-0001.bin>


More information about the libc-commits mailing list