summaryrefslogtreecommitdiff
path: root/clang/bindings
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2019-04-08 15:01:06 +0000
committerRainer Orth <ro@gcc.gnu.org>2019-04-08 15:01:06 +0000
commit04ee339adadd6b1b2b624755300bd81d98861422 (patch)
tree0615aad883c2ac262fae14f05839ad5682d15da7 /clang/bindings
parentdd028259374fa17a1529a9080528046f4c74295c (diff)
downloadllvm-04ee339adadd6b1b2b624755300bd81d98861422.tar.gz
[python, tests] Disable Clang Python tests on SPARC
Running `make check-all` fails on Solaris 11/SPARC since the clang python tests FAIL: ............................ ====================================================================== FAIL: test_extent (tests.cindex.test_location.TestLocation) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/cindex/test_location.py", line 87, in test_extent self.assert_location(one.extent.start,line=1,column=1,offset=0) File "tests/cindex/test_location.py", line 22, in assert_location self.assertEqual(loc.column, column) AssertionError: 5 != 1 ====================================================================== FAIL: test_get_children (tests.cindex.test_cursor.TestCursor) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/cindex/test_cursor.py", line 70, in test_get_children self.assertEqual(tu_nodes[0].is_definition(), True) AssertionError: False != True ---------------------------------------------------------------------- Ran 126 tests in 2.123s FAILED (failures=2, skipped=6) Unfortunately, this aborts the rest of `make check-all`, even with `-k`, so this patch disables the test as is already done on a couple of other targets. This allowed the `sparc-sun-solaris2.11` test to finish. Differential Revision: https://reviews.llvm.org/D60046 llvm-svn: 357917
Diffstat (limited to 'clang/bindings')
-rw-r--r--clang/bindings/python/tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/bindings/python/tests/CMakeLists.txt b/clang/bindings/python/tests/CMakeLists.txt
index 7af6503f1588..3f5ac957f81d 100644
--- a/clang/bindings/python/tests/CMakeLists.txt
+++ b/clang/bindings/python/tests/CMakeLists.txt
@@ -32,11 +32,11 @@ if(WIN32)
set(RUN_PYTHON_TESTS FALSE)
endif()
-# AArch64 and Hexagon have known test failures that need to be
+# AArch64, Hexagon, and Sparc have known test failures that need to be
# addressed.
# SystemZ has broken Python/FFI interface:
# https://reviews.llvm.org/D52840#1265716
-if(${LLVM_NATIVE_ARCH} MATCHES "^(AArch64|Hexagon|SystemZ)$")
+if(${LLVM_NATIVE_ARCH} MATCHES "^(AArch64|Hexagon|Sparc|SystemZ)$")
set(RUN_PYTHON_TESTS FALSE)
endif()