diff options
Diffstat (limited to 'packages/Python/lldbsuite')
| -rw-r--r-- | packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py | 12 | ||||
| -rw-r--r-- | packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py | 1 | 
2 files changed, 10 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.""" diff --git a/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py b/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py index 5946f3ffa211..3998b9d8ab54 100644 --- a/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py +++ b/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py @@ -18,6 +18,7 @@ class NoreturnUnwind(TestBase):      @skipIfWindows  # clang-cl does not support gcc style attributes.      @expectedFailureAndroid(bugnumber="llvm.org/pr31192", archs=["x86_64"]) +    @expectedFailureAll(bugnumber="llvm.org/pr31192", oslist=['linux'], compiler="gcc", archs=['arm'])      def test(self):          """Test that we can backtrace correctly with 'noreturn' functions on the stack"""          self.build() | 
