[Lldb-commits] [lldb] r348010 - Skip TestRequireHWBreakpoints on Windows
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 30 09:31:20 PST 2018
Author: jdevlieghere
Date: Fri Nov 30 09:31:20 2018
New Revision: 348010
URL: http://llvm.org/viewvc/llvm-project?rev=348010&view=rev
Log:
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.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py?rev=348010&r1=348009&r2=348010&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py Fri Nov 30 09:31:20 2018
@@ -27,6 +27,7 @@ class BreakpointLocationsTestCase(TestBa
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(TestBa
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(TestBa
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(TestBa
'Could not create hardware breakpoint for thread plan'
])
+ @skipIfWindows
def test_step_until(self):
"""Test stepping until when hardware breakpoints are required."""
self.build()
More information about the lldb-commits
mailing list