[clang] a38fc61 - [AIX] Disable clang python binding tests

David Tenty via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 26 12:30:57 PST 2019


Author: David Tenty
Date: 2019-11-26T15:30:38-05:00
New Revision: a38fc61648797a10629ed160779b5df6b8d577e7

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

LOG: [AIX] Disable clang python binding tests

Summary:
The Python ctypes FFI interface is broken on AIX, it cannot properly pass
structures containing  arrays ( https://bugs.python.org/issue38628). So
disable the clang python binding tests on AIX till this is resolved.

Reviewers: stevewan, jasonliu, hubert.reinterpretcast, mgorny

Reviewed By: jasonliu, hubert.reinterpretcast

Subscribers: mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D70675

Added: 
    

Modified: 
    clang/bindings/python/tests/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang/bindings/python/tests/CMakeLists.txt b/clang/bindings/python/tests/CMakeLists.txt
index 3f5ac957f81d..626256af9c1b 100644
--- a/clang/bindings/python/tests/CMakeLists.txt
+++ b/clang/bindings/python/tests/CMakeLists.txt
@@ -32,6 +32,11 @@ if(WIN32)
   set(RUN_PYTHON_TESTS FALSE)
 endif()
 
+# The Python FFI interface is broken on AIX: https://bugs.python.org/issue38628.
+if(${CMAKE_SYSTEM_NAME} MATCHES "AIX")
+  set(RUN_PYTHON_TESTS FALSE)
+endif()
+
 # AArch64, Hexagon, and Sparc have known test failures that need to be
 # addressed.
 # SystemZ has broken Python/FFI interface:


        


More information about the cfe-commits mailing list