[Lldb-commits] [lldb] r348435 - [lldbsuite] Disable TestStopPCs when there's no XML support

Stella Stamenova via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 5 16:11:17 PST 2018


Author: stella.stamenova
Date: Wed Dec  5 16:11:17 2018
New Revision: 348435

URL: http://llvm.org/viewvc/llvm-project?rev=348435&view=rev
Log:
[lldbsuite] Disable TestStopPCs when there's no XML support

The test relies on xml support to setup the correct registers. If there's no XML support, the test is going to fail.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py?rev=348435&r1=348434&r2=348435&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py Wed Dec  5 16:11:17 2018
@@ -6,6 +6,8 @@ from gdbclientutils import *
 
 
 class TestStopPCs(GDBRemoteTestBase):
+
+    @skipIfXmlSupportMissing
     def test(self):
         class MyResponder(MockGDBServerResponder):
             def haltReason(self):




More information about the lldb-commits mailing list