summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
diff options
context:
space:
mode:
authorVince Harron <vince@nethacker.com>2015-06-26 15:13:21 +0000
committerVince Harron <vince@nethacker.com>2015-06-26 15:13:21 +0000
commit7ac3ea424bd671a62918fffebffb1dedc5f43336 (patch)
tree32ff06e73c92e7b748b2cf6b04d738960d6f3e21 /lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
parentc2ae76737753a55f18a290f1e64f8bca60423449 (diff)
downloadbcm5719-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/thread/create_after_attach/TestCreateAfterAttach.py')
-rw-r--r--lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py b/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
index 378c6a2c2c0..a3e01312697 100644
--- a/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
+++ b/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
@@ -22,6 +22,8 @@ class CreateAfterAttachTestCase(TestBase):
@skipIfFreeBSD # Hangs. May be the same as Linux issue llvm.org/pr16229 but
# not yet investigated. Revisit once required functionality
# is implemented for FreeBSD.
+ @skipIfLinux # Occasionally hangs on the build bot, expectedFailureLinux
+
@dwarf_test
def test_create_after_attach_with_dwarf_and_popen(self):
"""Test thread creation after process attach."""
@@ -32,6 +34,7 @@ class CreateAfterAttachTestCase(TestBase):
# for FreeBSD.
@dwarf_test
@skipIfRemote
+ @expectedFlakeyLinux("llvm.org/pr16229") # 1/100 dosep, build 3546, clang-3.5 x84_64
def test_create_after_attach_with_dwarf_and_fork(self):
"""Test thread creation after process attach."""
self.buildDwarf(dictionary=self.getBuildFlags(use_cpp11=False))
OpenPOWER on IntegriCloud