Index: masters/master.client.webrtc.fyi/master_linux_cfg.py |
diff --git a/masters/master.client.webrtc.fyi/master_linux_cfg.py b/masters/master.client.webrtc.fyi/master_linux_cfg.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e07e8970ff700dfceb330664236d1a3228a761c3 |
--- /dev/null |
+++ b/masters/master.client.webrtc.fyi/master_linux_cfg.py |
@@ -0,0 +1,63 @@ |
+# Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+from master import master_config |
+from master.factory import webrtc_factory |
+ |
+defaults = {} |
+ |
+def linux(): |
+ return webrtc_factory.WebRTCFactory('src/out', 'linux2') |
+ |
+helper = master_config.Helper(defaults) |
+B = helper.Builder |
+F = helper.Factory |
+S = helper.Scheduler |
+ |
+scheduler = 'webrtc_linux_scheduler' |
+S(scheduler, branch='trunk', treeStableTimer=0) |
+ |
+tests = [ |
+ 'audio_decoder_unittests', |
+ 'common_audio_unittests', |
+ 'common_video_unittests', |
+ 'metrics_unittests', |
+ 'modules_integrationtests', |
+ 'modules_unittests', |
+ 'neteq_unittests', |
+ 'system_wrappers_unittests', |
+ 'test_support_unittests', |
+ 'tools_unittests', |
+ 'video_engine_core_unittests', |
+ 'voice_engine_unittests', |
+] |
+ |
+defaults['category'] = 'linux' |
+ |
+B('Linux Tsan v2', 'linux_tsan2_factory', scheduler=scheduler) |
+F('linux_tsan2_factory', linux().WebRTCFactory( |
+ target='Release', |
+ tests=tests, |
+ options=['--compiler=clang', |
+ '--build-tool=ninja'], |
+ factory_properties={ |
+ 'tsan': True, |
+ 'tsan_suppressions_file': |
+ 'src/tools/valgrind-webrtc/tsan_v2/suppressions.txt', |
+ 'gclient_env': { |
+ 'GYP_DEFINES': ('tsan=1 linux_use_tcmalloc=0 ' |
+ 'release_extra_cflags="-gline-tables-only"'), |
+ }})) |
+ |
+B('Linux TsanRV', 'linux_tsan_rv_factory', scheduler=scheduler) |
+F('linux_tsan_rv_factory', linux().WebRTCFactory( |
+ target='Release', |
+ tests=['tsan_rv_' + test for test in tests], |
+ factory_properties={ |
+ 'needs_valgrind': True, |
+ 'gclient_env': {'GYP_DEFINES': 'build_for_tool=tsan'}})) |
+ |
+ |
+def Update(c): |
+ helper.Update(c) |