Skip to content

[libc][stdlib] Run freelist_heap_test only in full build mode. #95850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

lntue
Copy link
Contributor

@lntue lntue commented Jun 17, 2024

No description provided.

@lntue lntue requested a review from PiJoules June 17, 2024 21:21
@llvmbot llvmbot added the libc label Jun 17, 2024
@llvmbot
Copy link
Member

llvmbot commented Jun 17, 2024

@llvm/pr-subscribers-libc

Author: None (lntue)

Changes

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

1 Files Affected:

  • (modified) libc/test/src/stdlib/CMakeLists.txt (+2)
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

@@ -79,6 +79,7 @@ add_libc_test(
libc.src.__support.CPP.span
)

if(LLVM_LIBC_FULL_BUILD)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@lntue lntue merged commit ca22469 into llvm:main Jun 17, 2024
4 of 5 checks passed
@lntue lntue deleted the malloc branch June 17, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants