diff options
author | Zachary Turner <zturner@google.com> | 2016-02-08 19:34:59 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-02-08 19:34:59 +0000 |
commit | 4a289a93f733b9eafb85cd60dad7b0c24e2f51e4 (patch) | |
tree | 1e429bbbcc21866dbc943e9083fecfaccc80c25b /lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py | |
parent | 850ec6ca18e70fda3cfd4f41c5193bad5057fc2b (diff) | |
download | bcm5719-llvm-4a289a93f733b9eafb85cd60dad7b0c24e2f51e4.tar.gz bcm5719-llvm-4a289a93f733b9eafb85cd60dad7b0c24e2f51e4.zip |
Remove expectedFailureWindows decorator.
expectedFailureWindows is equivalent to using the general
expectedFailureAll decorator with oslist="windows". Additionally,
by moving towards these common decorators we can solve the issue
of having to support decorators that can be called with or without
arguments. Once all decorators are always called with arguments,
and this is enforced by design (because you can't specify the condition
you're decorating for without passing an argument) the implementation
of the decorators can become much simpler
Differential Revision: http://reviews.llvm.org/D16936
llvm-svn: 260134
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py b/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py index 871aedda3da..b4c56e83e7a 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py @@ -28,7 +28,7 @@ class ThreadStateTestCase(TestBase): @skipIfDarwin # 'llvm.org/pr23669', cause Python crash randomly @expectedFailureDarwin('llvm.org/pr23669') @expectedFailureFreeBSD('llvm.org/pr15824') - @expectedFailureWindows("llvm.org/pr24660") + @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24660") def test_state_after_continue(self): """Test thread state after continue.""" self.build(dictionary=self.getBuildFlags(use_cpp11=False)) @@ -36,7 +36,7 @@ class ThreadStateTestCase(TestBase): @skipIfDarwin # 'llvm.org/pr23669', cause Python crash randomly @expectedFailureDarwin('llvm.org/pr23669') - @expectedFailureWindows("llvm.org/pr24660") + @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24660") @unittest2.expectedFailure("llvm.org/pr16712") # thread states not properly maintained def test_state_after_expression(self): """Test thread state after expression.""" @@ -44,14 +44,14 @@ class ThreadStateTestCase(TestBase): self.thread_state_after_expression_test() @unittest2.expectedFailure("llvm.org/pr16712") # thread states not properly maintained - @expectedFailureWindows("llvm.org/pr24668") # Breakpoints not resolved correctly + @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24668: Breakpoints not resolved correctly") def test_process_interrupt(self): """Test process interrupt.""" self.build(dictionary=self.getBuildFlags(use_cpp11=False)) self.process_interrupt_test() @unittest2.expectedFailure("llvm.org/pr15824") # thread states not properly maintained - @expectedFailureWindows("llvm.org/pr24668") # Breakpoints not resolved correctly + @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24668: Breakpoints not resolved correctly") def test_process_state(self): """Test thread states (comprehensive).""" self.build(dictionary=self.getBuildFlags(use_cpp11=False)) |