Skip to content

Commit

Permalink
[libc] Disable failing AMDGPU test temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuber6 committed Nov 4, 2024
1 parent 704808c commit d727eec
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions libc/test/integration/src/stdio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,23 @@ add_dependencies(libc-integration-tests stdio-integration-tests)

# These tests are not for correctness testing, but are instead a convenient way
# to generate hermetic binaries for comparitive binary size testing.
add_integration_test(
sprintf_size_test
SUITE
stdio-integration-tests
SRCS
sprintf_size_test.cpp
DEPENDS
libc.src.stdio.sprintf
ARGS
"%s %c %d"
"First arg"
"a"
"0"
)
# FIXME: This test fails on AMDGPU so we disable it temporarily.
if(NOT LIBC_TARGET_ARCHITECTURE_IS_AMDGPU)
add_integration_test(
sprintf_size_test
SUITE
stdio-integration-tests
SRCS
sprintf_size_test.cpp
DEPENDS
libc.src.stdio.sprintf
ARGS
"%s %c %d"
"First arg"
"a"
"0"
)
endif()

add_integration_test(
sprintf_size_test_no_sprintf
Expand All @@ -35,4 +38,3 @@ add_integration_test(
COMPILE_OPTIONS
-DINTEGRATION_DISABLE_PRINTF
)

0 comments on commit d727eec

Please sign in to comment.