forked from OSchip/llvm-project
XFAIL 2 more tests based on SWIG version.
There's a bug in versions of SWIG prior to 3.0.8 that prevent these tests from succeeding with Python 3.x llvm-svn: 257208
This commit is contained in:
parent
cb0c122ed7
commit
256c457170
|
@ -16,6 +16,8 @@ class ModuleAndSectionAPIsTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
# Py3 asserts due to a bug in SWIG. A fix for this was upstreamed into SWIG 3.0.8.
|
||||
@skipIf(py_version=['>=', (3,0)], swig_version=['<', (3,0,8)])
|
||||
@add_test_categories(['pyapi'])
|
||||
def test_module_and_section(self):
|
||||
"""Test module and section APIs."""
|
||||
|
|
|
@ -25,6 +25,8 @@ class ValueAsLinkedListTestCase(TestBase):
|
|||
# Find the line number to break at.
|
||||
self.line = line_number('main.cpp', '// Break at this line')
|
||||
|
||||
# Py3 asserts due to a bug in SWIG. A fix for this was upstreamed into SWIG 3.0.8.
|
||||
@skipIf(py_version=['>=', (3,0)], swig_version=['<', (3,0,8)])
|
||||
@add_test_categories(['pyapi'])
|
||||
def test(self):
|
||||
"""Exercise SBValue API linked_list_iter."""
|
||||
|
|
Loading…
Reference in New Issue