[libc-commits] [libc] d727eec - [libc] Disable failing AMDGPU test temporarily

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Mon Nov 4 13:03:59 PST 2024


Author: Joseph Huber
Date: 2024-11-04T15:03:40-06:00
New Revision: d727eecfa65fa906066783ca2cafa80ee1437798

URL: https://github.com/llvm/llvm-project/commit/d727eecfa65fa906066783ca2cafa80ee1437798
DIFF: https://github.com/llvm/llvm-project/commit/d727eecfa65fa906066783ca2cafa80ee1437798.diff

LOG: [libc] Disable failing AMDGPU test temporarily

Summary:
Started failing in https://lab.llvm.org/buildbot/#/builders/73/builds/7977.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libc/test/integration/src/stdio/CMakeLists.txt b/libc/test/integration/src/stdio/CMakeLists.txt
index 51c5ee25a6b263..aca22daf653b81 100644
--- a/libc/test/integration/src/stdio/CMakeLists.txt
+++ b/libc/test/integration/src/stdio/CMakeLists.txt
@@ -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
@@ -35,4 +38,3 @@ add_integration_test(
   COMPILE_OPTIONS
     -DINTEGRATION_DISABLE_PRINTF
 )
-


        


More information about the libc-commits mailing list