summaryrefslogtreecommitdiffstats
path: root/clang/bindings/python
diff options
context:
space:
mode:
authorDavid Tenty <daltenty@ibm.com>2019-11-26 15:29:49 -0500
committerDavid Tenty <daltenty@ibm.com>2019-11-26 15:30:38 -0500
commita38fc61648797a10629ed160779b5df6b8d577e7 (patch)
treebb6a727fb7440f9a64f1bd813c85e9099302d443 /clang/bindings/python
parentee3b375b4cb7f3d7739f009e56d7ff1b07e27353 (diff)
downloadbcm5719-llvm-a38fc61648797a10629ed160779b5df6b8d577e7.tar.gz
bcm5719-llvm-a38fc61648797a10629ed160779b5df6b8d577e7.zip
[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
Diffstat (limited to 'clang/bindings/python')
-rw-r--r--clang/bindings/python/tests/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/bindings/python/tests/CMakeLists.txt b/clang/bindings/python/tests/CMakeLists.txt
index 3f5ac957f81..626256af9c1 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:
OpenPOWER on IntegriCloud