OLD | NEW |
1 # | 1 # |
2 # Copyright 2015 Google Inc. | 2 # Copyright 2015 Google Inc. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 # | 6 # |
7 | 7 |
8 #!/usr/bin/env python | 8 #!/usr/bin/env python |
9 | 9 |
10 usage = ''' | 10 usage = ''' |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 # Do we upload perf results? | 285 # Do we upload perf results? |
286 upload_perf_results = False | 286 upload_perf_results = False |
287 if role == builder_name_schema.BUILDER_ROLE_PERF: | 287 if role == builder_name_schema.BUILDER_ROLE_PERF: |
288 upload_perf_results = True | 288 upload_perf_results = True |
289 rv['upload_perf_results'] = upload_perf_results | 289 rv['upload_perf_results'] = upload_perf_results |
290 | 290 |
291 # Do we upload correctness results? | 291 # Do we upload correctness results? |
292 skip_upload_bots = [ | 292 skip_upload_bots = [ |
293 'ASAN', | 293 'ASAN', |
294 'Coverage', | 294 'Coverage', |
| 295 'MSAN', |
295 'TSAN', | 296 'TSAN', |
296 'UBSAN', | 297 'UBSAN', |
297 'Valgrind', | 298 'Valgrind', |
298 ] | 299 ] |
299 upload_dm_results = True | 300 upload_dm_results = True |
300 for s in skip_upload_bots: | 301 for s in skip_upload_bots: |
301 if s in builder_name: | 302 if s in builder_name: |
302 upload_dm_results = False | 303 upload_dm_results = False |
303 break | 304 break |
304 rv['upload_dm_results'] = upload_dm_results | 305 rv['upload_dm_results'] = upload_dm_results |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 366 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
366 self_test() | 367 self_test() |
367 sys.exit(0) | 368 sys.exit(0) |
368 | 369 |
369 if len(sys.argv) != 3: | 370 if len(sys.argv) != 3: |
370 print usage | 371 print usage |
371 sys.exit(1) | 372 sys.exit(1) |
372 | 373 |
373 with open(sys.argv[1], 'w') as out: | 374 with open(sys.argv[1], 'w') as out: |
374 json.dump(get_builder_spec(sys.argv[2]), out) | 375 json.dump(get_builder_spec(sys.argv[2]), out) |
OLD | NEW |