[Lldb-commits] [PATCH] D14673: Fix buildbot breakage after r253106
Ying Chen via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 13 18:57:40 PST 2015
chying created this revision.
chying added a reviewer: jingham.
chying added a subscriber: lldb-commits.
- expectedFailureAll takes single compiler name rather than compiler list because it also takes version which only apply to single compiler
- Don't try to access self.debug_info if debug_info is None
- Link to broken build, http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/8441
http://reviews.llvm.org/D14673
Files:
packages/Python/lldbsuite/test/lldbtest.py
Index: packages/Python/lldbsuite/test/lldbtest.py
===================================================================
--- packages/Python/lldbsuite/test/lldbtest.py
+++ packages/Python/lldbsuite/test/lldbtest.py
@@ -636,8 +636,8 @@
def expectedFailureAll(bugnumber=None, oslist=None, compiler=None, compiler_version=None, archs=None, triple=None, debug_info=None):
def fn(self):
os_list_passes = check_list_or_lambda(oslist, self.getPlatform())
- compiler_passes = check_list_or_lambda(compiler, self.getCompiler()) and self.expectedCompilerVersion(compiler_version)
- debug_info_passes = check_list_or_lambda(debug_info, self.debug_info)
+ compiler_passes = compiler is None or (check_list_or_lambda(self.getCompiler(), compiler) and self.expectedCompilerVersion(compiler_version))
+ debug_info_passes = debug_info is None or check_list_or_lambda(debug_info, self.debug_info)
return (os_list_passes and
compiler_passes and
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14673.40196.patch
Type: text/x-patch
Size: 996 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151114/1a8a0a3b/attachment.bin>
More information about the lldb-commits
mailing list