Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from master import master_config | 5 from master import master_config |
| 6 from master.factory import webrtc_factory | 6 from master.factory import webrtc_factory |
| 7 | 7 |
| 8 defaults = {} | 8 defaults = {} |
| 9 | 9 |
| 10 def linux(): | 10 def linux(): |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 43 B('Linux Tsan v2', 'linux_tsan2_factory', scheduler=scheduler) | 43 B('Linux Tsan v2', 'linux_tsan2_factory', scheduler=scheduler) |
| 44 F('linux_tsan2_factory', linux().WebRTCFactory( | 44 F('linux_tsan2_factory', linux().WebRTCFactory( |
| 45 target='Release', | 45 target='Release', |
| 46 tests=tests, | 46 tests=tests, |
| 47 options=['--compiler=goma-clang'], | 47 options=['--compiler=goma-clang'], |
| 48 factory_properties={ | 48 factory_properties={ |
| 49 'tsan': True, | 49 'tsan': True, |
| 50 'tsan_suppressions_file': | 50 'tsan_suppressions_file': |
| 51 'src/tools/valgrind-webrtc/tsan_v2/suppressions.txt', | 51 'src/tools/valgrind-webrtc/tsan_v2/suppressions.txt', |
| 52 'gclient_env': { | 52 'gclient_env': { |
| 53 'GYP_DEFINES': ('tsan=1 linux_use_tcmalloc=0 ' | 53 'GYP_DEFINES': ('tsan=1 use_allocator=none ' |
| 54 'release_extra_cflags="-gline-tables-only"'), | 54 'release_extra_cflags="-gline-tables-only"'), |
|
phoglund_chromium
2014/04/01 07:08:06
This is different than the others, which are just
kjellander_chromium
2014/04/01 08:16:08
I think it's actually better for us to use -g here
| |
| 55 }})) | 55 }})) |
| 56 | 56 |
| 57 B('Linux TsanRV', 'linux_tsan_rv_factory', scheduler=scheduler) | 57 B('Linux TsanRV', 'linux_tsan_rv_factory', scheduler=scheduler) |
| 58 F('linux_tsan_rv_factory', linux().WebRTCFactory( | 58 F('linux_tsan_rv_factory', linux().WebRTCFactory( |
| 59 target='Release', | 59 target='Release', |
| 60 tests=['tsan_rv_' + test for test in tests], | 60 tests=['tsan_rv_' + test for test in tests], |
| 61 options=['--compiler=goma'], | 61 options=['--compiler=goma'], |
| 62 factory_properties={ | 62 factory_properties={ |
| 63 'needs_valgrind': True, | 63 'needs_valgrind': True, |
| 64 'gclient_env': {'GYP_DEFINES': 'build_for_tool=tsan'}})) | 64 'gclient_env': {'GYP_DEFINES': 'build_for_tool=tsan'}})) |
| 65 | 65 |
| 66 B('Linux LSan (and ASan)', 'linux_lsan_factory', scheduler=scheduler) | 66 B('Linux LSan (and ASan)', 'linux_lsan_factory', scheduler=scheduler) |
| 67 F('linux_lsan_factory', linux().WebRTCFactory( | 67 F('linux_lsan_factory', linux().WebRTCFactory( |
| 68 target='Release', | 68 target='Release', |
| 69 tests=tests, | 69 tests=tests, |
| 70 options=['--compiler=goma-clang'], | 70 options=['--compiler=goma-clang'], |
| 71 factory_properties={ | 71 factory_properties={ |
| 72 'lsan': True, | 72 'lsan': True, |
| 73 'asan': True, | 73 'asan': True, |
| 74 'gclient_env': { | 74 'gclient_env': { |
| 75 'GYP_DEFINES': ('asan=1 ' | 75 'GYP_DEFINES': ('asan=1 ' |
| 76 'lsan=1 ' | 76 'lsan=1 ' |
| 77 'linux_use_tcmalloc=0 ' | 77 'use_allocator=none ' |
| 78 'release_extra_cflags="-gline-tables-only" ')}})) | 78 'release_extra_cflags="-gline-tables-only" ')}})) |
|
phoglund_chromium
2014/04/01 07:08:06
Same here
kjellander_chromium
2014/04/01 08:16:08
Yepp, changed this too.
| |
| 79 | 79 |
| 80 | 80 |
| 81 def Update(c): | 81 def Update(c): |
| 82 helper.Update(c) | 82 helper.Update(c) |
| OLD | NEW |