Mark TestCreateDuringInstructionStep as flaky on android arm

llvm-svn: 246966
This commit is contained in:
Pavel Labath 2015-09-07 12:15:27 +00:00
parent 8647f4381f
commit 63a579c752
2 changed files with 4 additions and 0 deletions

View File

@ -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())

View File

@ -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):