[zorg] r220458 - Add lit_extra_opts to LibcxxAndAbiBuilder to better allow different test configurations.
Eric Fiselier
eric at efcs.ca
Wed Oct 22 18:47:54 PDT 2014
Author: ericwf
Date: Wed Oct 22 20:47:53 2014
New Revision: 220458
URL: http://llvm.org/viewvc/llvm-project?rev=220458&view=rev
Log:
Add lit_extra_opts to LibcxxAndAbiBuilder to better allow different test configurations.
Modified:
zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py?rev=220458&r1=220457&r2=220458&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LibcxxAndAbiBuilder.py Wed Oct 22 20:47:53 2014
@@ -42,7 +42,8 @@ def getLibcxxWholeTree(f, src_root):
return f
-def getLibcxxAndAbiBuilder(f=None, env={}, additional_features=set(), cmake_extra_opts={}):
+def getLibcxxAndAbiBuilder(f=None, env={}, additional_features=set(),
+ cmake_extra_opts={}, lit_extra_opts={}):
if f is None:
f = buildbot.process.factory.BuildFactory()
@@ -76,6 +77,9 @@ def getLibcxxAndAbiBuilder(f=None, env={
litTestArgs += (' --param=additional_features=' +
','.join(additional_features))
+ for key in lit_extra_opts:
+ litTestArgs += (' --param=' + key + '=' + lit_extra_opts[key])
+
cmake_opts = ['-DLLVM_LIT_ARGS='+litTestArgs]
for key in cmake_extra_opts:
cmake_opts.append('-D' + key + '=' + cmake_extra_opts[key])
More information about the llvm-commits
mailing list