Skip to content

Commit

Permalink
Mark TestCreateDuringInstructionStep as flaky on android arm
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@246966 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
labath committed Sep 7, 2015
1 parent 3daf056 commit 2134d72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def setUp(self):
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())
Expand Down
3 changes: 3 additions & 0 deletions test/lldbtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2134d72

Please sign in to comment.