From 597ed779f5407a2d2f312030ccdd7b7008c4543d Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Mon, 8 Jul 2024 21:58:57 -0500 Subject: [PATCH] [libc] Disable block test on NVPTX Summary: We already disable the freelist, the block test also causes issues. We don't use this code at all on the GPU so we can disable this test for now. --- libc/test/src/__support/CMakeLists.txt | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libc/test/src/__support/CMakeLists.txt b/libc/test/src/__support/CMakeLists.txt index e1de08e32ea767..ee0db6b2503851 100644 --- a/libc/test/src/__support/CMakeLists.txt +++ b/libc/test/src/__support/CMakeLists.txt @@ -1,20 +1,20 @@ add_custom_target(libc-support-tests) -add_libc_test( - block_test - SUITE - libc-support-tests - SRCS - block_test.cpp - DEPENDS - libc.src.__support.CPP.array - libc.src.__support.CPP.bit - libc.src.__support.CPP.span - libc.src.__support.block - libc.src.string.memcpy -) - if(NOT LIBC_TARGET_ARCHITECTURE_IS_NVPTX) + add_libc_test( + block_test + SUITE + libc-support-tests + SRCS + block_test.cpp + DEPENDS + libc.src.__support.CPP.array + libc.src.__support.CPP.bit + libc.src.__support.CPP.span + libc.src.__support.block + libc.src.string.memcpy + ) + add_libc_test( freelist_test SUITE