Skip to content

Commit dc27ff1

Browse files
committed
[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?
1 parent 0d4da0d commit dc27ff1

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

libc/test/src/__support/CMakeLists.txt

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ add_libc_test(
1313
libc.src.string.memcpy
1414
)
1515

16-
add_libc_test(
17-
freelist_test
18-
SUITE
19-
libc-support-tests
20-
SRCS
21-
freelist_test.cpp
22-
DEPENDS
23-
libc.src.__support.CPP.array
24-
libc.src.__support.CPP.span
25-
libc.src.__support.freelist
26-
)
16+
if(NOT LIBC_TARGET_ARCHITECTURE_IS_NVPTX)
17+
add_libc_test(
18+
freelist_test
19+
SUITE
20+
libc-support-tests
21+
SRCS
22+
freelist_test.cpp
23+
DEPENDS
24+
libc.src.__support.CPP.array
25+
libc.src.__support.CPP.span
26+
libc.src.__support.freelist
27+
)
28+
endif()
2729

2830
if(LLVM_LIBC_FULL_BUILD)
2931
add_libc_test(

0 commit comments

Comments
 (0)