This revision was automatically updated to reflect the committed changes. Closed by commit rL280261: Fixup TestPyObjSynthProvider.py and enable it again (authored by labath).
Changed prior to commit: https://reviews.llvm.org/D24074?vs=69836&id=69881#toc Repository: rL LLVM https://reviews.llvm.org/D24074 Files: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py lldb/trunk/scripts/Python/finishSwigPythonLLDB.py Index: lldb/trunk/scripts/Python/finishSwigPythonLLDB.py =================================================================== --- lldb/trunk/scripts/Python/finishSwigPythonLLDB.py +++ lldb/trunk/scripts/Python/finishSwigPythonLLDB.py @@ -793,6 +793,7 @@ # Having these files copied here ensure that lldb/formatters is a # valid package itself listPkgFiles = [os.path.join(strRoot, "examples", "summaries", "cocoa", "cache.py"), + os.path.join(strRoot, "examples", "summaries", "synth.py"), os.path.join(strRoot, "examples", "summaries", "cocoa", "metrics.py"), os.path.join(strRoot, "examples", "summaries", "cocoa", "attrib_fromdict.py"), os.path.join(strRoot, "examples", "summaries", "cocoa", "Logger.py")] Index: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py =================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py +++ lldb/trunk/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): Index: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py =================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py @@ -16,8 +16,8 @@ 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()
Index: lldb/trunk/scripts/Python/finishSwigPythonLLDB.py =================================================================== --- lldb/trunk/scripts/Python/finishSwigPythonLLDB.py +++ lldb/trunk/scripts/Python/finishSwigPythonLLDB.py @@ -793,6 +793,7 @@ # Having these files copied here ensure that lldb/formatters is a # valid package itself listPkgFiles = [os.path.join(strRoot, "examples", "summaries", "cocoa", "cache.py"), + os.path.join(strRoot, "examples", "summaries", "synth.py"), os.path.join(strRoot, "examples", "summaries", "cocoa", "metrics.py"), os.path.join(strRoot, "examples", "summaries", "cocoa", "attrib_fromdict.py"), os.path.join(strRoot, "examples", "summaries", "cocoa", "Logger.py")] Index: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py =================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/provider.py +++ lldb/trunk/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): Index: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py =================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py +++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py @@ -16,8 +16,8 @@ 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()
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits