[libc-commits] [libc] [libc] Expand usage of libc null checks. (PR #116262)

Aly ElAshram via libc-commits libc-commits at lists.llvm.org
Sun Dec 22 14:18:08 PST 2024


================
@@ -374,7 +383,7 @@ add_libc_test(
     libc.src.string.memset_explicit
 )
 
-add_libc_multi_impl_test(memcmp libc-string-tests SRCS memcmp_test.cpp)
+add_libc_multi_impl_test(memcmp UNIT_TEST_ONLY libc-string-tests SRCS memcmp_test.cpp)
----------------
AlyElashram wrote:

This is the initial trial and it works, however I'm not aware of the use of hermetic tests. So a change here might cause regression that I'm not aware of yet. 
@michaelrj-google @nickdesaulniers 

https://github.com/llvm/llvm-project/pull/116262


More information about the libc-commits mailing list