summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-09-07 12:15:27 +0000
committerPavel Labath <labath@google.com>2015-09-07 12:15:27 +0000
commit63a579c7526515ed45e328e317e9cb6dd422cd11 (patch)
tree95cdbbd0b10afd212a8e9f45f8d6692fc4dee747
parent8647f4381f3001692e78aead8d1121328883cfe7 (diff)
downloadbcm5719-llvm-63a579c7526515ed45e328e317e9cb6dd422cd11.tar.gz
bcm5719-llvm-63a579c7526515ed45e328e317e9cb6dd422cd11.zip
Mark TestCreateDuringInstructionStep as flaky on android arm
llvm-svn: 246966
-rw-r--r--lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py1
-rw-r--r--lldb/test/lldbtest.py3
2 files changed, 4 insertions, 0 deletions
diff --git a/lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py b/lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py
index 8729d19cd46..71e95ea96fb 100644
--- a/lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py
+++ b/lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py
@@ -18,6 +18,7 @@ class CreateDuringInstructionStepTestCase(TestBase):
TestBase.setUp(self)
@skipUnlessPlatform(['linux'])
+ @expectedFlakeyAndroid('llvm.org/pr24737', archs=['arm'])
@dwarf_test
def test_step_inst_with_dwarf(self):
self.buildDwarf(dictionary=self.getBuildFlags())
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 7a0b706384c..11949865349 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -789,6 +789,9 @@ def expectedFlakeyClang(bugnumber=None, compiler_version=None):
def expectedFlakeyGcc(bugnumber=None, compiler_version=None):
return expectedFlakeyCompiler('gcc', compiler_version, bugnumber)
+def expectedFlakeyAndroid(bugnumber=None, api_levels=None, archs=None):
+ return expectedFlakey(matchAndroid(api_levels, archs), bugnumber)
+
def skipIfRemote(func):
"""Decorate the item to skip tests if testing remotely."""
if isinstance(func, type) and issubclass(func, unittest2.TestCase):
OpenPOWER on IntegriCloud