Skip to content

Commit e85993d

Browse files
committedOct 29, 2016
buildmaster: fix scan-build reporting failing builds as good.
1 parent b26b7dd commit e85993d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
 

‎templates/var/buildbot/master/master.cfg

+7-2
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ def addOpenfpgaBuildStep(suffix, cmake_args=[], build_prefix=[]):
125125
descriptionDone = 'build',
126126
descriptionSuffix = ['openfpga', suffix]))
127127

128+
if suffix == 'analyzer':
129+
return
130+
128131
openfpgaBuildFactory.addStep(ShellCommand(
129132
name = 'test_openfpga_' + suffix,
130133
command = ['ctest', '--output-on-failure'],
@@ -134,14 +137,16 @@ def addOpenfpgaBuildStep(suffix, cmake_args=[], build_prefix=[]):
134137
descriptionDone = 'test',
135138
descriptionSuffix = ['openfpga', suffix]))
136139

137-
addOpenfpgaBuildStep('normal',
138-
build_prefix=['scan-build-3.8', '--status-bugs', '--keep-empty'])
140+
addOpenfpgaBuildStep('normal')
139141
addOpenfpgaBuildStep('ubsan',
140142
cmake_args=['-DBUILD_DOC=FALSE', '-DCMAKE_CXX_COMPILER=/usr/bin/clang++-3.8',
141143
'-DSANITIZE=undefined'])
142144
addOpenfpgaBuildStep('asan',
143145
cmake_args=['-DBUILD_DOC=FALSE', '-DCMAKE_CXX_COMPILER=/usr/bin/clang++-3.8',
144146
'-DSANITIZE=address'])
147+
addOpenfpgaBuildStep('analyzer',
148+
cmake_args=['-DBUILD_DOC=FALSE'],
149+
build_prefix=['scan-build-3.8', '--status-bugs', '--keep-empty'])
145150

146151
c['builders'].append(
147152
BuilderConfig(

0 commit comments

Comments
 (0)
Please sign in to comment.