[Lldb-commits] [lldb] r325708 - [testsuite/decorators] Get rid of some `expectFlakey` variants.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 21 11:18:49 PST 2018
Author: davide
Date: Wed Feb 21 11:18:49 2018
New Revision: 325708
URL: http://llvm.org/viewvc/llvm-project?rev=325708&view=rev
Log:
[testsuite/decorators] Get rid of some `expectFlakey` variants.
These seem to be pretty much dead.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/decorators.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/decorators.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/decorators.py?rev=325708&r1=325707&r2=325708&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/decorators.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/decorators.py Wed Feb 21 11:18:49 2018
@@ -436,12 +436,6 @@ def expectedFlakey(expected_fn, bugnumbe
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,
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(
More information about the lldb-commits
mailing list