From 4c7763eb2f3175b772d199424ffe3bdf52e7ee76 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 22 May 2018 16:33:43 +0000 Subject: Enable ProcessMachCore plugin on non-apple platforms Summary: The plugin already builds fine on other platforms (linux, at least). All that was necessary was to revitalize the hack in PlatformDarwinKernel (not a very pretty hack, but it gets us going at least). I haven't done a thorough investigation of the state of the plugin on other platforms, but at least the two core file tests we have seem to pass, so I enable them. Reviewers: JDevlieghere, jasonmolenda Subscribers: lldb-commits, mgorny Differential Revision: https://reviews.llvm.org/D47133 llvm-svn: 332997 --- .../lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py | 1 - .../lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py | 1 - 2 files changed, 2 deletions(-) (limited to 'lldb/packages/Python/lldbsuite/test') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py index 06225d3923c..ea981292157 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/mach-core/TestMachCore.py @@ -26,7 +26,6 @@ class MachCoreTestCase(TestBase): lldb.DBG.SetSelectedPlatform(self._initial_platform) super(MachCoreTestCase, self).tearDown() - @skipUnlessDarwin def test_selected_thread(self): """Test that the right thread is selected after a core is loaded.""" # Create core form YAML. diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py b/lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py index 2f8efbeaab6..6bcd9c92f8c 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/source-map/TestTargetSourceMap.py @@ -7,7 +7,6 @@ class TestTargetSourceMap(TestBase): mydir = TestBase.compute_mydir(__file__) - @skipUnlessDarwin @no_debug_info_test def test_source_map(self): """Test target.source-map' functionality.""" -- cgit v1.2.3