[Lldb-commits] [lldb] r283739 - [LLDB][MIPS] All tests get errors in dotest after this test.

Nitesh Jain via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 10 03:47:53 PDT 2016


Author: nitesh.jain
Date: Mon Oct 10 05:47:53 2016
New Revision: 283739

URL: http://llvm.org/viewvc/llvm-project?rev=283739&view=rev
Log:
[LLDB][MIPS] All tests get errors in dotest after this test.

Subscribers: jaydeep, bhushan, slthakur, llvm-commits

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py
    lldb/trunk/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py?rev=283739&r1=283738&r2=283739&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py Mon Oct 10 05:47:53 2016
@@ -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"""

Modified: lldb/trunk/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py?rev=283739&r1=283738&r2=283739&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py Mon Oct 10 05:47:53 2016
@@ -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.




More information about the lldb-commits mailing list