[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:21:30 PDT 2024
https://github.com/lntue created https://github.com/llvm/llvm-project/pull/95850
None
>From 1140507ccbfcef543a726141b20df4029c556a25 Mon Sep 17 00:00:00 2001
From: Tue Ly <lntue.h at gmail.com>
Date: Mon, 17 Jun 2024 21:17:36 +0000
Subject: [PATCH] [libc][stdlib] Run freelist_heap_test only in full build
mode.
---
libc/test/src/stdlib/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
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
More information about the libc-commits
mailing list