[libc] Disable the strtod and strtold tests on NVPTX

These tests have a single line that fails with a value off-by-one, see
https://lab.llvm.org/buildbot/#/builders/46/builds/50055/steps/12/logs/stdio .
Disable these for now so we can figure out what the error is later.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D153056
This commit is contained in:
Joseph Huber 2023-06-15 13:00:45 -05:00
parent 3a7876f6e2
commit 7e8b0c27f2

View File

@ -54,17 +54,20 @@ add_libc_test(
libc.src.stdlib.atoll
)
add_fp_unittest(
strtod_test
SUITE
libc-stdlib-tests
SRCS
strtod_test.cpp
DEPENDS
libc.src.errno.errno
libc.src.stdlib.strtod
libc.src.__support.FPUtil.fenv_impl
)
# This fails on NVPTX where the output value is one-off of the expected value.
if(NOT LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)
add_fp_unittest(
strtod_test
SUITE
libc-stdlib-tests
SRCS
strtod_test.cpp
DEPENDS
libc.src.errno.errno
libc.src.stdlib.strtod
libc.src.__support.FPUtil.fenv_impl
)
endif()
add_fp_unittest(
strtof_test
@ -123,17 +126,20 @@ add_libc_test(
.strtol_test_support
)
add_libc_test(
strtold_test
SUITE
libc-stdlib-tests
SRCS
strtold_test.cpp
DEPENDS
libc.src.errno.errno
libc.src.__support.uint128
libc.src.stdlib.strtold
)
# This fails on NVPTX where the output value is one-off of the expected value.
if(NOT LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)
add_libc_test(
strtold_test
SUITE
libc-stdlib-tests
SRCS
strtold_test.cpp
DEPENDS
libc.src.errno.errno
libc.src.__support.uint128
libc.src.stdlib.strtold
)
endif()
add_libc_test(
strtoll_test