Author: zturner Date: Fri Jan 8 15:08:24 2016 New Revision: 257208 URL: http://llvm.org/viewvc/llvm-project?rev=257208&view=rev Log: 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 Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py lldb/trunk/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py?rev=257208&r1=257207&r2=257208&view=diff ============================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py (original) +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py Fri Jan 8 15:08:24 2016 @@ -16,6 +16,8 @@ class ModuleAndSectionAPIsTestCase(TestB 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.""" Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py?rev=257208&r1=257207&r2=257208&view=diff ============================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py (original) +++ lldb/trunk/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py Fri Jan 8 15:08:24 2016 @@ -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.""" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits