summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py')
-rw-r--r--lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py b/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
index ad8c295be3b..7a6a2c158d5 100644
--- a/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
+++ b/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
@@ -12,21 +12,21 @@ class BreakpointConditionsTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @skipUnlessDarwin
@dsym_test
def test_breakpoint_condition_with_dsym_and_run_command(self):
"""Exercise breakpoint condition with 'breakpoint modify -c <expr> id'."""
self.buildDsym()
self.breakpoint_conditions()
- @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @skipUnlessDarwin
@dsym_test
def test_breakpoint_condition_inline_with_dsym_and_run_command(self):
"""Exercise breakpoint condition inline with 'breakpoint set'."""
self.buildDsym()
self.breakpoint_conditions(inline=True)
- @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @skipUnlessDarwin
@python_api_test
@dsym_test
def test_breakpoint_condition_with_dsym_and_python_api(self):
@@ -35,14 +35,14 @@ class BreakpointConditionsTestCase(TestBase):
self.breakpoint_conditions_python()
@dwarf_test
- @unittest2.skipIf(sys.platform.startswith("win32"), "Requires EE to support COFF on Windows (http://llvm.org/pr22232)")
+ @skipIfWindows # Requires EE to support COFF on Windows (http://llvm.org/pr22232)
def test_breakpoint_condition_with_dwarf_and_run_command(self):
"""Exercise breakpoint condition with 'breakpoint modify -c <expr> id'."""
self.buildDwarf()
self.breakpoint_conditions()
@dwarf_test
- @unittest2.skipIf(sys.platform.startswith("win32"), "Requires EE to support COFF on Windows (http://llvm.org/pr22232)")
+ @skipIfWindows # Requires EE to support COFF on Windows (http://llvm.org/pr22232)
def test_breakpoint_condition_inline_with_dwarf_and_run_command(self):
"""Exercise breakpoint condition inline with 'breakpoint set'."""
self.buildDwarf()
@@ -50,7 +50,7 @@ class BreakpointConditionsTestCase(TestBase):
@python_api_test
@dwarf_test
- @unittest2.skipIf(sys.platform.startswith("win32"), "Requires EE to support COFF on Windows (http://llvm.org/pr22232)")
+ @skipIfWindows # Requires EE to support COFF on Windows (http://llvm.org/pr22232)
def test_breakpoint_condition_with_dwarf_and_python_api(self):
"""Use Python APIs to set breakpoint conditions."""
self.buildDwarf()
OpenPOWER on IntegriCloud