From 2e2c24d2b253902908b65c7ae5245a1a666b18b2 Mon Sep 17 00:00:00 2001 From: Nitesh Jain Date: Mon, 10 Oct 2016 10:47:53 +0000 Subject: [PATCH] [LLDB][MIPS] All tests get errors in dotest after this test. Subscribers: jaydeep, bhushan, slthakur, llvm-commits llvm-svn: 283739 --- .../test/functionalities/postmortem/linux-core/TestLinuxCore.py | 5 +++++ .../test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py | 1 + 2 files changed, 6 insertions(+) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py index df2a462..da6098f 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py @@ -27,11 +27,13 @@ class LinuxCoreTestCase(TestBase): _s390x_regions = 2 @skipIf(oslist=['windows']) + @skipIf(triple='^mips') def test_i386(self): """Test that lldb can read the process information from an i386 linux core file.""" self.do_test("i386", self._i386_pid, self._i386_regions) @skipIf(oslist=['windows']) + @skipIf(triple='^mips') def test_x86_64(self): """Test that lldb can read the process information from an x86_64 linux core file.""" self.do_test("x86_64", self._x86_64_pid, self._x86_64_regions) @@ -39,11 +41,13 @@ class LinuxCoreTestCase(TestBase): # This seems to hang on non-s390x platforms for some reason. Disabling # for now. @skipIf(archs=no_match(['s390x'])) + @skipIf(triple='^mips') def test_s390x(self): """Test that lldb can read the process information from an s390x linux core file.""" self.do_test("s390x", self._s390x_pid, self._s390x_regions) @skipIf(oslist=['windows']) + @skipIf(triple='^mips') def test_same_pid_running(self): """Test that we read the information from the core correctly even if we have a running process with the same PID around""" @@ -72,6 +76,7 @@ class LinuxCoreTestCase(TestBase): self.RemoveTempFile("x86_64-pid.core") @skipIf(oslist=['windows']) + @skipIf(triple='^mips') def test_two_cores_same_pid(self): """Test that we handle the situation if we have two core files with the same PID around""" diff --git a/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py b/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py index 6e548f2..1e1e4d7 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py @@ -23,6 +23,7 @@ class Disassemble_VST1_64(TestBase): "llvm.org/pr24575: all tests get ERRORs in dotest.py after this") @add_test_categories(['pyapi']) @no_debug_info_test + @skipIf(triple='^mips') def test_disassemble_invalid_vst_1_64_raw_data(self): """Test disassembling invalid vst1.64 raw bytes with the API.""" # Create a target from the debugger. -- 2.7.4