We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a396d1 commit a0fd01bCopy full SHA for a0fd01b
zorg/buildbot/builders/TestSuiteBuilder.py
@@ -13,11 +13,17 @@
13
14
def addTestSuiteStep(
15
f,
16
- compiler_dir = None,
+ compiler_dir = '.',
17
env = None,
18
- lit_args = [],
+ lit_args = None,
19
**kwargs):
20
21
+ # Set defaults
22
+ if env is None:
23
+ env = {}
24
+ if lit_args is None:
25
+ lit_args = []
26
+
27
cc = util.Interpolate('-DCMAKE_C_COMPILER=' + '%(prop:builddir)s/'+compiler_dir+'/bin/clang')
28
cxx = util.Interpolate('-DCMAKE_CXX_COMPILER=' + '%(prop:builddir)s/'+compiler_dir+'/bin/clang++')
29
lit = util.Interpolate('%(prop:builddir)s/' + compiler_dir + '/bin/llvm-lit')
0 commit comments