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

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 3 09:13:09 PDT 2023


sivachandra added inline comments.


================
Comment at: libc/test/src/__support/CMakeLists.txt:91
+  # This test relies on 'realloc' which is not implemented for hermetic tests.
+  UNIT_TEST_ONLY
   SUITE
----------------
We do have realloc: https://github.com/llvm/llvm-project/blob/main/libc/test/UnitTest/HermeticTestUtils.cpp#L68


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149750/new/

https://reviews.llvm.org/D149750



More information about the libc-commits mailing list