[Lldb-commits] [PATCH] Add support for XFAILing a test on specific clang versions
Vince Harron
vince at nethacker.com
Fri Mar 13 12:28:33 PDT 2015
Hi clayborg, chying,
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8327
Files:
test/lldbtest.py
Index: test/lldbtest.py
===================================================================
--- test/lldbtest.py
+++ test/lldbtest.py
@@ -562,8 +562,10 @@
return compiler in self.getCompiler() and self.expectedCompilerVersion(compiler_version)
if bugnumber: return expectedFailure(fn, bugnumber)
-def expectedFailureClang(bugnumber=None):
- if bugnumber: return expectedFailureCompiler('clang', None, bugnumber)
+# to XFAIL a specific clang versions, try this
+# @expectedFailureClang('bugnumber', ['<=', '3.4'])
+def expectedFailureClang(bugnumber=None, compiler_version=None):
+ if bugnumber: return expectedFailureCompiler('clang', compiler_version, bugnumber)
def expectedFailureGcc(bugnumber=None, compiler_version=None):
if bugnumber: return expectedFailureCompiler('gcc', compiler_version, bugnumber)
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8327.21946.patch
Type: text/x-patch
Size: 838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150313/91b1e035/attachment.bin>
More information about the lldb-commits
mailing list