| 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 22 matching lines...) Expand all Loading... |
| 33 'system_wrappers_unittests', | 33 'system_wrappers_unittests', |
| 34 'test_support_unittests', | 34 'test_support_unittests', |
| 35 'tools_unittests', | 35 'tools_unittests', |
| 36 'video_engine_core_unittests', | 36 'video_engine_core_unittests', |
| 37 'video_engine_tests', | 37 'video_engine_tests', |
| 38 'voice_engine_unittests', | 38 'voice_engine_unittests', |
| 39 ] | 39 ] |
| 40 | 40 |
| 41 defaults['category'] = 'linux' | 41 defaults['category'] = 'linux' |
| 42 | 42 |
| 43 B('Linux Tsan v2', 'linux_tsan2_factory', scheduler=scheduler) | |
| 44 F('linux_tsan2_factory', linux().WebRTCFactory( | |
| 45 target='Release', | |
| 46 tests=tests, | |
| 47 options=['--compiler=goma-clang'], | |
| 48 factory_properties={ | |
| 49 'tsan': True, | |
| 50 'tsan_suppressions_file': | |
| 51 'src/tools/valgrind-webrtc/tsan_v2/suppressions.txt', | |
| 52 'gclient_env': { | |
| 53 'GYP_DEFINES': 'tsan=1 use_allocator=none release_extra_cflags=-g', | |
| 54 }})) | |
| 55 | |
| 56 B('Linux TsanRV', 'linux_tsan_rv_factory', scheduler=scheduler) | 43 B('Linux TsanRV', 'linux_tsan_rv_factory', scheduler=scheduler) |
| 57 F('linux_tsan_rv_factory', linux().WebRTCFactory( | 44 F('linux_tsan_rv_factory', linux().WebRTCFactory( |
| 58 target='Release', | 45 target='Release', |
| 59 tests=['tsan_rv_' + test for test in tests], | 46 tests=['tsan_rv_' + test for test in tests], |
| 60 options=['--compiler=goma'], | 47 options=['--compiler=goma'], |
| 61 factory_properties={ | 48 factory_properties={ |
| 62 'needs_valgrind': True, | 49 'needs_valgrind': True, |
| 63 'gclient_env': {'GYP_DEFINES': 'build_for_tool=tsan'}})) | 50 'gclient_env': {'GYP_DEFINES': 'build_for_tool=tsan'}})) |
| 64 | 51 |
| 65 B('Linux LSan (and ASan)', 'linux_lsan_factory', scheduler=scheduler) | 52 B('Linux LSan (and ASan)', 'linux_lsan_factory', scheduler=scheduler) |
| 66 F('linux_lsan_factory', linux().WebRTCFactory( | 53 F('linux_lsan_factory', linux().WebRTCFactory( |
| 67 target='Release', | 54 target='Release', |
| 68 tests=tests, | 55 tests=tests, |
| 69 options=['--compiler=goma-clang'], | 56 options=['--compiler=goma-clang'], |
| 70 factory_properties={ | 57 factory_properties={ |
| 71 'lsan': True, | 58 'lsan': True, |
| 72 'asan': True, | 59 'asan': True, |
| 73 'gclient_env': { | 60 'gclient_env': { |
| 74 'GYP_DEFINES': ('asan=1 ' | 61 'GYP_DEFINES': ('asan=1 ' |
| 75 'lsan=1 ' | 62 'lsan=1 ' |
| 76 'use_allocator=none ' | 63 'use_allocator=none ' |
| 77 'release_extra_cflags=-g ')}})) | 64 'release_extra_cflags=-g ')}})) |
| 78 | 65 |
| 79 | 66 |
| 80 def Update(c): | 67 def Update(c): |
| 81 helper.Update(c) | 68 helper.Update(c) |
| OLD | NEW |