[LLDB] Skip HW breakpoints test_step_until on Arm/Linux
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Wed, 28 Jul 2021 08:17:10 +0000 (13:17 +0500)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Wed, 28 Jul 2021 08:18:14 +0000 (13:18 +0500)
test_step_until xpasses on some machines while fails on others. I am
marking it as skipped for now.

lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py

index f7787bbf68b1208598f4dfb24183f084103ce220..b629d678d08e64a59ac0a96b535108b7deaedd2b 100644 (file)
@@ -27,7 +27,7 @@ class BreakpointLocationsTestCase(HardwareBreakpointTestBase):
         breakpoint = target.BreakpointCreateByLocation("main.c", 1)
         self.assertTrue(breakpoint.IsHardware())
 
-    @expectedFailureIfFn(supports_hw_breakpoints)
+        @expectedFailureIfFn(supports_hw_breakpoints)
     def test_step_range(self):
         """Test stepping when hardware breakpoints are required."""
         self.build()
@@ -86,6 +86,7 @@ class BreakpointLocationsTestCase(HardwareBreakpointTestBase):
                 'error: Could not create hardware breakpoint for thread plan.'
             ])
 
+    @skipIf(oslist=["linux"], archs=["arm"])
     @expectedFailureIfFn(supports_hw_breakpoints)
     def test_step_until(self):
         """Test stepping until when hardware breakpoints are required."""