[libc-commits] [PATCH] D149662: [libc] Enable the 'string' unit tests to be hermetic

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue May 2 10:00:37 PDT 2023


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

This changes over the string unit tests to the new `add_libc_test`
framework. The one test that wasn't changes was the memory utils because
it overran the static buffer used for the hermetic test's bump pointer.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149662

Files:
  libc/test/UnitTest/CMakeLists.txt
  libc/test/src/CMakeLists.txt
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/memory_utils/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149662.518781.patch
Type: text/x-patch
Size: 9967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230502/ee2b15f9/attachment.bin>


More information about the libc-commits mailing list