diff options
| author | Vince Harron <vince@nethacker.com> | 2015-06-26 15:13:21 +0000 |
|---|---|---|
| committer | Vince Harron <vince@nethacker.com> | 2015-06-26 15:13:21 +0000 |
| commit | 7ac3ea424bd671a62918fffebffb1dedc5f43336 (patch) | |
| tree | 32ff06e73c92e7b748b2cf6b04d738960d6f3e21 /lldb/test/functionalities/stop-hook | |
| parent | c2ae76737753a55f18a290f1e64f8bca60423449 (diff) | |
| download | bcm5719-llvm-7ac3ea424bd671a62918fffebffb1dedc5f43336.tar.gz bcm5719-llvm-7ac3ea424bd671a62918fffebffb1dedc5f43336.zip | |
Added expectedFlakey test decorator
SUMMARY
Flakey tests get two chances to pass
Also, switched a bunch of tests to use new decorator.
TEST PLAN
Add one of these decorators to a test
Edit a test to pass on the first invocation, confirm test appears as pass
Edit a test to pass on the first invocation, pass on the second, confirm test appears as xfail
Edit a test to fail on two consecutive runs, confirm test appears in results as fail/error
Differential Revision: http://reviews.llvm.org/D10721
llvm-svn: 240789
Diffstat (limited to 'lldb/test/functionalities/stop-hook')
| -rw-r--r-- | lldb/test/functionalities/stop-hook/TestStopHookMechanism.py | 2 | ||||
| -rw-r--r-- | lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py b/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py index 87be6d9bba9..0d1125057ef 100644 --- a/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py +++ b/lldb/test/functionalities/stop-hook/TestStopHookMechanism.py @@ -19,7 +19,7 @@ class StopHookMechanismTestCase(TestBase): self.stop_hook_firing() @skipIfFreeBSD # llvm.org/pr15037 - @expectedFailureLinux('llvm.org/pr15037') # stop-hooks sometimes fail to fire on Linux + @expectedFlakeyLinux('llvm.org/pr15037') # stop-hooks sometimes fail to fire on Linux @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows") @dwarf_test def test_with_dwarf(self): diff --git a/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py b/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py index 1792bf994cb..9e7d7ffae90 100644 --- a/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py +++ b/lldb/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py @@ -21,7 +21,7 @@ class StopHookForMultipleThreadsTestCase(TestBase): @dwarf_test @expectedFailureFreeBSD("llvm.org/pr15037") - @expectedFailureLinux("llvm.org/pr15037") # stop hooks sometimes fail to fire on Linux + @expectedFlakeyLinux("llvm.org/pr15037") # stop hooks sometimes fail to fire on Linux @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows") @skipIfFreeBSD # llvm.org/pr22784 def test_stop_hook_multiple_threads_with_dwarf(self): |

