Skip to content

Commit d727eec

Browse files
committed
[libc] Disable failing AMDGPU test temporarily
Summary: Started failing in https://lab.llvm.org/buildbot/#/builders/73/builds/7977.
1 parent 704808c commit d727eec

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

libc/test/integration/src/stdio/CMakeLists.txt

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,23 @@ add_dependencies(libc-integration-tests stdio-integration-tests)
66

77
# These tests are not for correctness testing, but are instead a convenient way
88
# to generate hermetic binaries for comparitive binary size testing.
9-
add_integration_test(
10-
sprintf_size_test
11-
SUITE
12-
stdio-integration-tests
13-
SRCS
14-
sprintf_size_test.cpp
15-
DEPENDS
16-
libc.src.stdio.sprintf
17-
ARGS
18-
"%s %c %d"
19-
"First arg"
20-
"a"
21-
"0"
22-
)
9+
# FIXME: This test fails on AMDGPU so we disable it temporarily.
10+
if(NOT LIBC_TARGET_ARCHITECTURE_IS_AMDGPU)
11+
add_integration_test(
12+
sprintf_size_test
13+
SUITE
14+
stdio-integration-tests
15+
SRCS
16+
sprintf_size_test.cpp
17+
DEPENDS
18+
libc.src.stdio.sprintf
19+
ARGS
20+
"%s %c %d"
21+
"First arg"
22+
"a"
23+
"0"
24+
)
25+
endif()
2326

2427
add_integration_test(
2528
sprintf_size_test_no_sprintf
@@ -35,4 +38,3 @@ add_integration_test(
3538
COMPILE_OPTIONS
3639
-DINTEGRATION_DISABLE_PRINTF
3740
)
38-

0 commit comments

Comments
 (0)