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 release_extra_cflags=-g', |
54 'release_extra_cflags="-gline-tables-only"'), | |
55 }})) | 54 }})) |
56 | 55 |
57 B('Linux TsanRV', 'linux_tsan_rv_factory', scheduler=scheduler) | 56 B('Linux TsanRV', 'linux_tsan_rv_factory', scheduler=scheduler) |
58 F('linux_tsan_rv_factory', linux().WebRTCFactory( | 57 F('linux_tsan_rv_factory', linux().WebRTCFactory( |
59 target='Release', | 58 target='Release', |
60 tests=['tsan_rv_' + test for test in tests], | 59 tests=['tsan_rv_' + test for test in tests], |
61 options=['--compiler=goma'], | 60 options=['--compiler=goma'], |
62 factory_properties={ | 61 factory_properties={ |
63 'needs_valgrind': True, | 62 'needs_valgrind': True, |
64 'gclient_env': {'GYP_DEFINES': 'build_for_tool=tsan'}})) | 63 'gclient_env': {'GYP_DEFINES': 'build_for_tool=tsan'}})) |
65 | 64 |
66 B('Linux LSan (and ASan)', 'linux_lsan_factory', scheduler=scheduler) | 65 B('Linux LSan (and ASan)', 'linux_lsan_factory', scheduler=scheduler) |
67 F('linux_lsan_factory', linux().WebRTCFactory( | 66 F('linux_lsan_factory', linux().WebRTCFactory( |
68 target='Release', | 67 target='Release', |
69 tests=tests, | 68 tests=tests, |
70 options=['--compiler=goma-clang'], | 69 options=['--compiler=goma-clang'], |
71 factory_properties={ | 70 factory_properties={ |
72 'lsan': True, | 71 'lsan': True, |
73 'asan': True, | 72 'asan': True, |
74 'gclient_env': { | 73 'gclient_env': { |
75 'GYP_DEFINES': ('asan=1 ' | 74 'GYP_DEFINES': ('asan=1 ' |
76 'lsan=1 ' | 75 'lsan=1 ' |
77 'linux_use_tcmalloc=0 ' | 76 'use_allocator=none ' |
78 'release_extra_cflags="-gline-tables-only" ')}})) | 77 'release_extra_cflags=-g ')}})) |
79 | 78 |
80 | 79 |
81 def Update(c): | 80 def Update(c): |
82 helper.Update(c) | 81 helper.Update(c) |
OLD | NEW |