forked from OSchip/llvm-project
[testsuite/decorators] Get rid of some `expectFlakey` variants.
These seem to be pretty much dead. llvm-svn: 325708
This commit is contained in:
parent
7f078eabda
commit
feb4b896b6
|
@ -436,12 +436,6 @@ def expectedFlakey(expected_fn, bugnumber=None):
|
|||
return expectedFailure_impl
|
||||
|
||||
|
||||
def expectedFlakeyDwarf(bugnumber=None):
|
||||
def fn(self):
|
||||
return self.getDebugInfo() == "dwarf"
|
||||
return expectedFlakey(fn, bugnumber)
|
||||
|
||||
|
||||
def expectedFlakeyDsym(bugnumber=None):
|
||||
def fn(self):
|
||||
return self.getDebugInfo() == "dwarf"
|
||||
|
@ -476,27 +470,6 @@ def expectedFlakeyNetBSD(bugnumber=None, compilers=None):
|
|||
return expectedFlakeyOS(['netbsd'], bugnumber, compilers)
|
||||
|
||||
|
||||
def expectedFlakeyCompiler(compiler, compiler_version=None, bugnumber=None):
|
||||
if compiler_version is None:
|
||||
compiler_version = ['=', None]
|
||||
|
||||
def fn(self):
|
||||
return compiler in self.getCompiler() and self.expectedCompilerVersion(compiler_version)
|
||||
return expectedFlakey(fn, bugnumber)
|
||||
|
||||
# @expectedFlakeyClang('bugnumber', ['<=', '3.4'])
|
||||
|
||||
|
||||
def expectedFlakeyClang(bugnumber=None, compiler_version=None):
|
||||
return expectedFlakeyCompiler('clang', compiler_version, bugnumber)
|
||||
|
||||
# @expectedFlakeyGcc('bugnumber', ['<=', '3.4'])
|
||||
|
||||
|
||||
def expectedFlakeyGcc(bugnumber=None, compiler_version=None):
|
||||
return expectedFlakeyCompiler('gcc', compiler_version, bugnumber)
|
||||
|
||||
|
||||
def expectedFlakeyAndroid(bugnumber=None, api_levels=None, archs=None):
|
||||
return expectedFlakey(
|
||||
_skip_for_android(
|
||||
|
|
Loading…
Reference in New Issue