OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from master import master_config |
| 6 from master.factory import webrtc_factory |
| 7 |
| 8 defaults = {} |
| 9 |
| 10 def linux(): |
| 11 return webrtc_factory.WebRTCFactory('src/out', 'linux2') |
| 12 |
| 13 helper = master_config.Helper(defaults) |
| 14 B = helper.Builder |
| 15 F = helper.Factory |
| 16 S = helper.Scheduler |
| 17 |
| 18 scheduler = 'webrtc_linux_scheduler' |
| 19 S(scheduler, branch='trunk', treeStableTimer=0) |
| 20 |
| 21 tests = [ |
| 22 'audio_decoder_unittests', |
| 23 'common_audio_unittests', |
| 24 'common_video_unittests', |
| 25 'metrics_unittests', |
| 26 'modules_integrationtests', |
| 27 'modules_unittests', |
| 28 'neteq_unittests', |
| 29 'system_wrappers_unittests', |
| 30 'test_support_unittests', |
| 31 'tools_unittests', |
| 32 'video_engine_core_unittests', |
| 33 'voice_engine_unittests', |
| 34 ] |
| 35 |
| 36 defaults['category'] = 'linux' |
| 37 |
| 38 B('Linux Tsan v2', 'linux_tsan2_factory', scheduler=scheduler) |
| 39 F('linux_tsan2_factory', linux().WebRTCFactory( |
| 40 target='Release', |
| 41 tests=tests, |
| 42 options=['--compiler=clang', |
| 43 '--build-tool=ninja'], |
| 44 factory_properties={ |
| 45 'tsan': True, |
| 46 'tsan_suppressions_file': |
| 47 'src/tools/valgrind-webrtc/tsan_v2/suppressions.txt', |
| 48 'gclient_env': { |
| 49 'GYP_DEFINES': ('tsan=1 linux_use_tcmalloc=0 ' |
| 50 'release_extra_cflags="-gline-tables-only"'), |
| 51 }})) |
| 52 |
| 53 B('Linux TsanRV', 'linux_tsan_rv_factory', scheduler=scheduler) |
| 54 F('linux_tsan_rv_factory', linux().WebRTCFactory( |
| 55 target='Release', |
| 56 tests=['tsan_rv_' + test for test in tests], |
| 57 factory_properties={ |
| 58 'needs_valgrind': True, |
| 59 'gclient_env': {'GYP_DEFINES': 'build_for_tool=tsan'}})) |
| 60 |
| 61 |
| 62 def Update(c): |
| 63 helper.Update(c) |
OLD | NEW |