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/expression_command/call-function | |
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/expression_command/call-function')
3 files changed, 3 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py index 2082a3a1ec4..4482cf43361 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py @@ -24,7 +24,7 @@ class ExprCommandCallFunctionTestCase(TestBase): @expectedFailureIcc # llvm.org/pr14437, fails with ICC 13.1 @expectedFailureFreeBSD('llvm.org/pr17807') # Fails on FreeBSD buildbot - @expectedFailureWindows("llvm.org/pr21765") + @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21765") def test_with(self): """Test calling std::String member function.""" self.build() diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py index 72bb8d1616b..4d18cfc980f 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py @@ -25,7 +25,7 @@ class ExprCommandCallStopContinueTestCase(TestBase): '{ 5, "five" }') @expectedFlakeyDarwin("llvm.org/pr20274") - @expectedFailureWindows("llvm.org/pr24489: Name lookup not working correctly on Windows") + @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows") def test(self): """Test gathering result from interrupted function call.""" self.build() diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py index fbc10f4963a..c0727a84fc0 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py @@ -27,7 +27,7 @@ class ExprCommandCallUserDefinedFunction(TestBase): self.line = line_number('main.cpp', '// Please test these expressions while stopped at this line:') @expectedFlakeyDsym("llvm.org/pr20274") - @expectedFailureWindows("llvm.org/pr24489: Name lookup not working correctly on Windows") + @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows") def test(self): """Test return values of user defined function calls.""" self.build() |