diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-30 17:31:20 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-30 17:31:20 +0000 |
commit | da517788802cb2e77d63a2196d3fa68d7f2e1876 (patch) | |
tree | fdb631dcf9b7d3a095cd19ef4841077700c91228 /lldb/packages/Python/lldbsuite/test | |
parent | 9a3686b208dcde5a88cfdadb555f625964fe4bc1 (diff) | |
download | bcm5719-llvm-da517788802cb2e77d63a2196d3fa68d7f2e1876.tar.gz bcm5719-llvm-da517788802cb2e77d63a2196d3fa68d7f2e1876.zip |
Skip TestRequireHWBreakpoints on Windows
The test assumes that HW breakpoints are not implemented by the debug
server. Windows doesn't use these and might actually support HW
breakpoints so these tests are expected fail because they don't raise
the expected error.
llvm-svn: 348010
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py index 1a1ee2eaa89..cda15fee84b 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py @@ -27,6 +27,7 @@ class BreakpointLocationsTestCase(TestBase): breakpoint = target.BreakpointCreateByLocation("main.c", 1) self.assertTrue(breakpoint.IsHardware()) + @skipIfWindows def test_step_range(self): """Test stepping when hardware breakpoints are required.""" self.build() @@ -47,6 +48,7 @@ class BreakpointLocationsTestCase(TestBase): self.assertTrue("Could not create hardware breakpoint for thread plan" in error.GetCString()) + @skipIfWindows def test_step_out(self): """Test stepping out when hardware breakpoints are required.""" self.build() @@ -66,6 +68,7 @@ class BreakpointLocationsTestCase(TestBase): self.assertTrue("Could not create hardware breakpoint for thread plan" in error.GetCString()) + @skipIfWindows def test_step_over(self): """Test stepping over when hardware breakpoints are required.""" self.build() @@ -84,6 +87,7 @@ class BreakpointLocationsTestCase(TestBase): 'Could not create hardware breakpoint for thread plan' ]) + @skipIfWindows def test_step_until(self): """Test stepping until when hardware breakpoints are required.""" self.build() |