[libc-commits] [libc] [libc][stdlib] Run freelist_heap_test only in full build mode. (PR #95850)

via libc-commits libc-commits at lists.llvm.org
Mon Jun 17 14:22:01 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: None (lntue)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/95850.diff


1 Files Affected:

- (modified) libc/test/src/stdlib/CMakeLists.txt (+2) 


``````````diff
diff --git a/libc/test/src/stdlib/CMakeLists.txt b/libc/test/src/stdlib/CMakeLists.txt
index 648404afb5730..82cc830aeb08a 100644
--- a/libc/test/src/stdlib/CMakeLists.txt
+++ b/libc/test/src/stdlib/CMakeLists.txt
@@ -79,6 +79,7 @@ add_libc_test(
     libc.src.__support.CPP.span
 )
 
+if(LLVM_LIBC_FULL_BUILD)
 add_libc_test(
   freelist_heap_test
   SUITE
@@ -93,6 +94,7 @@ add_libc_test(
     libc.src.string.memcmp
     libc.src.string.memcpy
 )
+endif()
 
 add_fp_unittest(
   strtod_test

``````````

</details>


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


More information about the libc-commits mailing list