aboutsummaryrefslogtreecommitdiff
path: root/libc/test
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-06-24 18:03:34 -0500
committerJoseph Huber <huberjn@outlook.com>2024-06-24 18:05:00 -0500
commitdc27ff10497ea0c7d93de028badffa62707d8b6c (patch)
treee8166c933dbd81d15ecb7c728f2852c40e24bd0b /libc/test
parent0d4da0df166ea7512c6e97e182b21cd706293eaa (diff)
downloadllvm-dc27ff10497ea0c7d93de028badffa62707d8b6c.zip
llvm-dc27ff10497ea0c7d93de028badffa62707d8b6c.tar.gz
llvm-dc27ff10497ea0c7d93de028badffa62707d8b6c.tar.bz2
[libc] Disable freelist test on NVPTX temporarily
Summary: This test fails due to alignment issues, it's likely that it's misaligned on other targets too and they just don't crash on it. @PiJoules maybe we should run this with ubsan?
Diffstat (limited to 'libc/test')
-rw-r--r--libc/test/src/__support/CMakeLists.txt24
1 files changed, 13 insertions, 11 deletions
diff --git a/libc/test/src/__support/CMakeLists.txt b/libc/test/src/__support/CMakeLists.txt
index e224e82..ce8413f 100644
--- a/libc/test/src/__support/CMakeLists.txt
+++ b/libc/test/src/__support/CMakeLists.txt
@@ -13,17 +13,19 @@ add_libc_test(
libc.src.string.memcpy
)
-add_libc_test(
- freelist_test
- SUITE
- libc-support-tests
- SRCS
- freelist_test.cpp
- DEPENDS
- libc.src.__support.CPP.array
- libc.src.__support.CPP.span
- libc.src.__support.freelist
-)
+if(NOT LIBC_TARGET_ARCHITECTURE_IS_NVPTX)
+ add_libc_test(
+ freelist_test
+ SUITE
+ libc-support-tests
+ SRCS
+ freelist_test.cpp
+ DEPENDS
+ libc.src.__support.CPP.array
+ libc.src.__support.CPP.span
+ libc.src.__support.freelist
+ )
+endif()
if(LLVM_LIBC_FULL_BUILD)
add_libc_test(