[lldbsuite] Disable TestStopPCs when there's no XML support
authorStella Stamenova <stilis@microsoft.com>
Thu, 6 Dec 2018 00:11:17 +0000 (00:11 +0000)
committerStella Stamenova <stilis@microsoft.com>
Thu, 6 Dec 2018 00:11:17 +0000 (00:11 +0000)
The test relies on xml support to setup the correct registers. If there's no XML support, the test is going to fail.

llvm-svn: 348435

lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestStopPCs.py

index 5a0849f..7b733e7 100644 (file)
@@ -6,6 +6,8 @@ from gdbclientutils import *
 
 
 class TestStopPCs(GDBRemoteTestBase):
+
+    @skipIfXmlSupportMissing
     def test(self):
         class MyResponder(MockGDBServerResponder):
             def haltReason(self):