| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 chromium_factory | 6 from master.factory import chromium_factory |
| 7 from master.factory import webrtc_factory | 7 from master.factory import webrtc_factory |
| 8 | 8 |
| 9 defaults = {} | 9 defaults = {} |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 'modules_integrationtests', | 31 'modules_integrationtests', |
| 32 'modules_unittests', | 32 'modules_unittests', |
| 33 'neteq_unittests', | 33 'neteq_unittests', |
| 34 'system_wrappers_unittests', | 34 'system_wrappers_unittests', |
| 35 'test_support_unittests', | 35 'test_support_unittests', |
| 36 'tools_unittests', | 36 'tools_unittests', |
| 37 'video_engine_core_unittests', | 37 'video_engine_core_unittests', |
| 38 'voice_engine_unittests', | 38 'voice_engine_unittests', |
| 39 ] | 39 ] |
| 40 | 40 |
| 41 baremetal_tests = [ |
| 42 'audio_e2e_test', |
| 43 'audioproc_perf', |
| 44 'isac_fixed_perf', |
| 45 'video_capture_integrationtests', |
| 46 'vie_auto_test', |
| 47 'voe_auto_test', |
| 48 ] |
| 49 |
| 41 ninja_options = ['--build-tool=ninja'] | 50 ninja_options = ['--build-tool=ninja'] |
| 42 | 51 |
| 43 defaults['category'] = 'linux' | 52 defaults['category'] = 'linux' |
| 44 | 53 |
| 45 B('Linux32 Debug', 'linux32_debug_factory', scheduler=scheduler) | 54 B('Linux32 Debug', 'linux32_debug_factory', scheduler=scheduler) |
| 46 F('linux32_debug_factory', linux().WebRTCFactory( | 55 F('linux32_debug_factory', linux().WebRTCFactory( |
| 47 target='Debug', | 56 target='Debug', |
| 48 options=ninja_options, | 57 options=ninja_options, |
| 49 tests=tests, | 58 tests=tests, |
| 50 factory_properties={'gclient_env': {'GYP_DEFINES': 'target_arch=ia32'}})) | 59 factory_properties={'gclient_env': {'GYP_DEFINES': 'target_arch=ia32'}})) |
| 60 |
| 51 B('Linux32 Release', 'linux32_release_factory', scheduler=scheduler) | 61 B('Linux32 Release', 'linux32_release_factory', scheduler=scheduler) |
| 52 F('linux32_release_factory', linux().WebRTCFactory( | 62 F('linux32_release_factory', linux().WebRTCFactory( |
| 53 target='Release', | 63 target='Release', |
| 54 options=ninja_options, | 64 options=ninja_options, |
| 55 tests=tests, | 65 tests=tests, |
| 56 factory_properties={'gclient_env': {'GYP_DEFINES': 'target_arch=ia32'}})) | 66 factory_properties={'gclient_env': {'GYP_DEFINES': 'target_arch=ia32'}})) |
| 57 | 67 |
| 58 B('Linux64 Debug', 'linux64_debug_factory', scheduler=scheduler) | 68 B('Linux64 Debug', 'linux64_debug_factory', scheduler=scheduler) |
| 59 F('linux64_debug_factory', linux().WebRTCFactory( | 69 F('linux64_debug_factory', linux().WebRTCFactory( |
| 60 target='Debug', | 70 target='Debug', |
| 61 options=ninja_options, | 71 options=ninja_options, |
| 62 tests=tests)) | 72 tests=tests)) |
| 73 |
| 63 B('Linux64 Release', 'linux64_release_factory', scheduler=scheduler) | 74 B('Linux64 Release', 'linux64_release_factory', scheduler=scheduler) |
| 64 F('linux64_release_factory', linux().WebRTCFactory( | 75 F('linux64_release_factory', linux().WebRTCFactory( |
| 65 target='Release', | 76 target='Release', |
| 66 options=ninja_options, | 77 options=ninja_options, |
| 67 tests=tests)) | 78 tests=tests)) |
| 68 | 79 |
| 69 B('Linux Clang', 'linux_clang_factory', scheduler=scheduler) | 80 B('Linux Clang', 'linux_clang_factory', scheduler=scheduler) |
| 70 F('linux_clang_factory', linux().WebRTCFactory( | 81 F('linux_clang_factory', linux().WebRTCFactory( |
| 71 target='Debug', | 82 target='Debug', |
| 72 options=ninja_options, | 83 options=ninja_options, |
| 73 tests=tests, | 84 tests=tests, |
| 74 factory_properties={'gclient_env': {'GYP_DEFINES': 'clang=1'}})) | 85 factory_properties={'gclient_env': {'GYP_DEFINES': 'clang=1'}})) |
| 75 | 86 |
| 76 B('Linux Memcheck', 'linux_memcheck_factory', scheduler=scheduler) | 87 B('Linux Memcheck', 'linux_memcheck_factory', scheduler=scheduler) |
| 77 F('linux_memcheck_factory', linux().WebRTCFactory( | 88 F('linux_memcheck_factory', linux().WebRTCFactory( |
| 78 target='Release', | 89 target='Release', |
| 79 options=ninja_options, | 90 options=ninja_options, |
| 80 tests=tests, | 91 tests=['memcheck_' + test for test in tests], |
| 81 factory_properties={'needs_valgrind': True, | 92 factory_properties={'needs_valgrind': True, |
| 82 'gclient_env': | 93 'gclient_env': |
| 83 {'GYP_DEFINES': 'build_for_tool=memcheck'}})) | 94 {'GYP_DEFINES': 'build_for_tool=memcheck'}})) |
| 84 B('Linux Tsan', 'linux_tsan_factory', scheduler=scheduler) | 95 B('Linux Tsan', 'linux_tsan_factory', scheduler=scheduler) |
| 85 F('linux_tsan_factory', linux().WebRTCFactory( | 96 F('linux_tsan_factory', linux().WebRTCFactory( |
| 86 target='Release', | 97 target='Release', |
| 87 options=ninja_options, | 98 options=ninja_options, |
| 88 tests=tests, | 99 tests=['tsan_' + test for test in tests], |
| 89 factory_properties={'needs_valgrind': True, | 100 factory_properties={'needs_valgrind': True, |
| 90 'gclient_env': | 101 'gclient_env': |
| 91 {'GYP_DEFINES': 'build_for_tool=tsan'}})) | 102 {'GYP_DEFINES': 'build_for_tool=tsan'}})) |
| 92 B('Linux Asan', 'linux_asan_factory', scheduler=scheduler) | 103 B('Linux Asan', 'linux_asan_factory', scheduler=scheduler) |
| 93 F('linux_asan_factory', linux().WebRTCFactory( | 104 F('linux_asan_factory', linux().WebRTCFactory( |
| 94 target='Release', | 105 target='Release', |
| 95 options=ninja_options, | 106 options=ninja_options, |
| 96 tests=tests, | 107 tests=tests, |
| 97 factory_properties={'asan': True, | 108 factory_properties={'asan': True, |
| 98 'gclient_env': | 109 'gclient_env': |
| 99 {'GYP_DEFINES': ('asan=1 release_extra_cflags=-g ' | 110 {'GYP_DEFINES': ('asan=1 release_extra_cflags=-g ' |
| 100 ' linux_use_tcmalloc=0 ')}})) | 111 ' linux_use_tcmalloc=0 ')}})) |
| 101 | 112 |
| 113 B('Linux64 Release [large tests]', 'linux_largetests_factory', |
| 114 scheduler=scheduler) |
| 115 F('linux_largetests_factory', linux().WebRTCFactory( |
| 116 target='Release', |
| 117 options=ninja_options, |
| 118 tests=baremetal_tests, |
| 119 factory_properties={ |
| 120 'show_perf_results': True, |
| 121 'expectations': True, |
| 122 'perf_id': 'webrtc-linux-large-tests', |
| 123 'perf_measuring_tests': ['audio_e2e_test', |
| 124 'audioproc_perf', |
| 125 'isac_fixed_perf', |
| 126 'vie_auto_test'], |
| 127 'custom_cmd_line_tests': ['audio_e2e_test', |
| 128 'audioproc_perf', |
| 129 'isac_fixed_perf', |
| 130 'vie_auto_test', |
| 131 'voe_auto_test'], |
| 132 })) |
| 133 |
| 102 # Android. | 134 # Android. |
| 103 B('Android NDK', 'android_ndk_factory', scheduler=scheduler) | 135 B('Android NDK', 'android_ndk_factory', scheduler=scheduler) |
| 104 F('android_ndk_factory', android().ChromiumAnnotationFactory( | 136 F('android_ndk_factory', android().ChromiumAnnotationFactory( |
| 105 target='Debug', | 137 target='Debug', |
| 106 slave_type='AnnotatedBuilderTester', | 138 slave_type='AnnotatedBuilderTester', |
| 107 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 139 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 108 factory_properties={ | 140 factory_properties={ |
| 109 'android_bot_id': 'webrtc-builder-dbg', | 141 'android_bot_id': 'webrtc-builder-dbg', |
| 110 })) | 142 })) |
| 111 | 143 |
| 112 # ChromeOS. | 144 # ChromeOS. |
| 113 B('Chrome OS', 'chromeos_factory', scheduler=scheduler) | 145 B('Chrome OS', 'chromeos_factory', scheduler=scheduler) |
| 114 F('chromeos_factory', linux().WebRTCFactory( | 146 F('chromeos_factory', linux().WebRTCFactory( |
| 115 target='Debug', | 147 target='Debug', |
| 116 options=ninja_options, | 148 options=ninja_options, |
| 117 tests=tests, | 149 tests=tests, |
| 118 factory_properties={'gclient_env': {'GYP_DEFINES': 'chromeos=1'}})) | 150 factory_properties={'gclient_env': {'GYP_DEFINES': 'chromeos=1'}})) |
| 119 | 151 |
| 120 | 152 |
| 121 def Update(c): | 153 def Update(c): |
| 122 helper.Update(c) | 154 helper.Update(c) |
| OLD | NEW |