summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/module_section
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-01-08 21:08:24 +0000
committerZachary Turner <zturner@google.com>2016-01-08 21:08:24 +0000
commit256c4571707953c9d7ce02bff14086ceccc79343 (patch)
tree85eb8ec3752bda0702cba9619df89250a58d8cd9 /lldb/packages/Python/lldbsuite/test/python_api/module_section
parentcb0c122ed72a038199f4fd636adf97fbb9e568c7 (diff)
downloadbcm5719-llvm-256c4571707953c9d7ce02bff14086ceccc79343.tar.gz
bcm5719-llvm-256c4571707953c9d7ce02bff14086ceccc79343.zip
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/module_section')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py b/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
index bc97d432406..2de026c54ee 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
@@ -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."""
OpenPOWER on IntegriCloud