diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-04 22:11:59 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-04 22:11:59 +0000 |
| commit | cce7c2b0d24e364b1907670cf6f843531e5fe052 (patch) | |
| tree | dc8d10317720644d161fe86b0933b71e87ed0842 /packages/Python/lldbsuite/test/functionalities/postmortem | |
| parent | 14f1b3e8826ce43b978db93a62d1166055db5394 (diff) | |
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/postmortem')
| -rw-r--r-- | packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py b/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py index ed46ef1c847e..7a987aeafb5b 100644 --- a/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py +++ b/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py @@ -26,6 +26,14 @@ class LinuxCoreTestCase(TestBase): _x86_64_regions = 5 _s390x_regions = 2 + def setUp(self): + super(LinuxCoreTestCase, self).setUp() + self._initial_platform = lldb.DBG.GetSelectedPlatform() + + def tearDown(self): + lldb.DBG.SetSelectedPlatform(self._initial_platform) + super(LinuxCoreTestCase, self).tearDown() + @skipIf(oslist=['windows']) @skipIf(triple='^mips') def test_i386(self): @@ -38,9 +46,7 @@ class LinuxCoreTestCase(TestBase): """Test that lldb can read the process information from an x86_64 linux core file.""" self.do_test("linux-x86_64", self._x86_64_pid, self._x86_64_regions) - # This seems to hang on non-s390x platforms for some reason. Disabling - # for now. - @skipIf(archs=no_match(['s390x'])) + @skipIf(oslist=['windows']) @skipIf(triple='^mips') def test_s390x(self): """Test that lldb can read the process information from an s390x linux core file.""" |
