summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-08-31 17:38:17 +0000
committerPavel Labath <labath@google.com>2016-08-31 17:38:17 +0000
commit93b5b660e87631f805fe47a659ecbf011796bdd4 (patch)
treee39b47e8795f4921e5b718fdbd0edc735bb8f50e /lldb/packages/Python/lldbsuite/test
parent54807a9b9d2dbee05ca11c2477a7336f726b8a01 (diff)
downloadbcm5719-llvm-93b5b660e87631f805fe47a659ecbf011796bdd4.tar.gz
bcm5719-llvm-93b5b660e87631f805fe47a659ecbf011796bdd4.zip
Fixup TestPyObjSynthProvider.py and enable it again
Summary: - copies the new file in the cmake build - adds an additional import statement - marks the test as no-debug-info specific, as it seems to be testing a python feature Reviewers: granata.enrico Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D24074 llvm-svn: 280261
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py
index 5cee339a4f8..db2d5806e09 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py
@@ -16,8 +16,8 @@ from lldbsuite.test import lldbutil
class PyObjectSynthProviderTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
+ NO_DEBUG_INFO_TESTCASE = True
- @expectedFailureAll(oslist=["linux"])
def test_print_array(self):
"""Test that expr -Z works"""
self.build()
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py
index 916a1af0689..134ae83aa1c 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py
@@ -1,5 +1,6 @@
import lldb
import lldb.formatters
+import lldb.formatters.synth
class SyntheticChildrenProvider(lldb.formatters.synth.PythonObjectSyntheticChildProvider):
def __init__(self, value, internal_dict):
OpenPOWER on IntegriCloud