xref: /aosp_15_r20/external/webrtc/infra/specs/test_suites.pyl (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1*d9f75844SAndroid Build Coastguard Worker# Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
2*d9f75844SAndroid Build Coastguard Worker#
3*d9f75844SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license
4*d9f75844SAndroid Build Coastguard Worker# that can be found in the LICENSE file in the root of the source
5*d9f75844SAndroid Build Coastguard Worker# tree. An additional intellectual property rights grant can be found
6*d9f75844SAndroid Build Coastguard Worker# in the file PATENTS.  All contributing project authors may
7*d9f75844SAndroid Build Coastguard Worker# be found in the AUTHORS file in the root of the source tree.
8*d9f75844SAndroid Build Coastguard Worker
9*d9f75844SAndroid Build Coastguard Worker{
10*d9f75844SAndroid Build Coastguard Worker  'basic_suites': {
11*d9f75844SAndroid Build Coastguard Worker    'android_junit_tests': {
12*d9f75844SAndroid Build Coastguard Worker      'android_examples_junit_tests': {},
13*d9f75844SAndroid Build Coastguard Worker      'android_sdk_junit_tests': {},
14*d9f75844SAndroid Build Coastguard Worker    },
15*d9f75844SAndroid Build Coastguard Worker    'android_perf_tests': {
16*d9f75844SAndroid Build Coastguard Worker      'low_bandwidth_audio_perf_test': {
17*d9f75844SAndroid Build Coastguard Worker        'mixins': ['perf-low-bandwidth-audio-perf-test'],
18*d9f75844SAndroid Build Coastguard Worker        'args': [
19*d9f75844SAndroid Build Coastguard Worker          '.',
20*d9f75844SAndroid Build Coastguard Worker          '--remove',
21*d9f75844SAndroid Build Coastguard Worker          '--android',
22*d9f75844SAndroid Build Coastguard Worker          '--adb-path',
23*d9f75844SAndroid Build Coastguard Worker          '../../third_party/android_sdk/public/platform-tools/adb',
24*d9f75844SAndroid Build Coastguard Worker        ]
25*d9f75844SAndroid Build Coastguard Worker      },
26*d9f75844SAndroid Build Coastguard Worker      'webrtc_perf_tests': {
27*d9f75844SAndroid Build Coastguard Worker        'mixins': ['perf-webrtc-perf-tests'],
28*d9f75844SAndroid Build Coastguard Worker      },
29*d9f75844SAndroid Build Coastguard Worker    },
30*d9f75844SAndroid Build Coastguard Worker    'android_tests': {
31*d9f75844SAndroid Build Coastguard Worker      'AppRTCMobile_test_apk': {},
32*d9f75844SAndroid Build Coastguard Worker      'android_instrumentation_test_apk': {},
33*d9f75844SAndroid Build Coastguard Worker      'audio_decoder_unittests': {},
34*d9f75844SAndroid Build Coastguard Worker      'common_audio_unittests': {},
35*d9f75844SAndroid Build Coastguard Worker      'common_video_unittests': {},
36*d9f75844SAndroid Build Coastguard Worker      'dcsctp_unittests': {},
37*d9f75844SAndroid Build Coastguard Worker      'modules_tests': {
38*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-2'],
39*d9f75844SAndroid Build Coastguard Worker      },
40*d9f75844SAndroid Build Coastguard Worker      'modules_unittests': {
41*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-6'],
42*d9f75844SAndroid Build Coastguard Worker      },
43*d9f75844SAndroid Build Coastguard Worker      'peerconnection_unittests': {
44*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
45*d9f75844SAndroid Build Coastguard Worker      },
46*d9f75844SAndroid Build Coastguard Worker      'rtc_media_unittests': {},
47*d9f75844SAndroid Build Coastguard Worker      'rtc_pc_unittests': {},
48*d9f75844SAndroid Build Coastguard Worker      'rtc_stats_unittests': {},
49*d9f75844SAndroid Build Coastguard Worker      'rtc_unittests': {
50*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-6'],
51*d9f75844SAndroid Build Coastguard Worker      },
52*d9f75844SAndroid Build Coastguard Worker      'slow_peer_connection_unittests': {},
53*d9f75844SAndroid Build Coastguard Worker      'svc_tests': {
54*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
55*d9f75844SAndroid Build Coastguard Worker      },
56*d9f75844SAndroid Build Coastguard Worker      'system_wrappers_unittests': {},
57*d9f75844SAndroid Build Coastguard Worker      'test_support_unittests': {},
58*d9f75844SAndroid Build Coastguard Worker      'tools_unittests': {},
59*d9f75844SAndroid Build Coastguard Worker      'video_engine_tests': {
60*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
61*d9f75844SAndroid Build Coastguard Worker      },
62*d9f75844SAndroid Build Coastguard Worker      'voip_unittests': {},
63*d9f75844SAndroid Build Coastguard Worker      'webrtc_nonparallel_tests': {},
64*d9f75844SAndroid Build Coastguard Worker    },
65*d9f75844SAndroid Build Coastguard Worker    'android_webrtc_perf_tests_tryserver': {
66*d9f75844SAndroid Build Coastguard Worker      'webrtc_perf_tests': {
67*d9f75844SAndroid Build Coastguard Worker        'mixins': ['quick-perf-tests'],
68*d9f75844SAndroid Build Coastguard Worker      }
69*d9f75844SAndroid Build Coastguard Worker    },
70*d9f75844SAndroid Build Coastguard Worker    'desktop_perf_tests': {
71*d9f75844SAndroid Build Coastguard Worker      'low_bandwidth_audio_perf_test': {
72*d9f75844SAndroid Build Coastguard Worker        'mixins': ['perf-low-bandwidth-audio-perf-test'],
73*d9f75844SAndroid Build Coastguard Worker        'args': ['.', '--remove'],
74*d9f75844SAndroid Build Coastguard Worker      },
75*d9f75844SAndroid Build Coastguard Worker      'webrtc_perf_tests': {
76*d9f75844SAndroid Build Coastguard Worker        'mixins': ['perf-webrtc-perf-tests'],
77*d9f75844SAndroid Build Coastguard Worker        'args': [
78*d9f75844SAndroid Build Coastguard Worker          '--test_artifacts_dir=${ISOLATED_OUTDIR}',
79*d9f75844SAndroid Build Coastguard Worker          '--save_worst_frame',
80*d9f75844SAndroid Build Coastguard Worker        ],
81*d9f75844SAndroid Build Coastguard Worker      },
82*d9f75844SAndroid Build Coastguard Worker    },
83*d9f75844SAndroid Build Coastguard Worker    'desktop_tests': {
84*d9f75844SAndroid Build Coastguard Worker      'audio_decoder_unittests': {},
85*d9f75844SAndroid Build Coastguard Worker      'common_audio_unittests': {},
86*d9f75844SAndroid Build Coastguard Worker      'common_video_unittests': {},
87*d9f75844SAndroid Build Coastguard Worker      'dcsctp_unittests': {},
88*d9f75844SAndroid Build Coastguard Worker      'low_bandwidth_audio_test': {
89*d9f75844SAndroid Build Coastguard Worker        'args': ['--quick']
90*d9f75844SAndroid Build Coastguard Worker      },
91*d9f75844SAndroid Build Coastguard Worker      'modules_tests': {
92*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-2'],
93*d9f75844SAndroid Build Coastguard Worker      },
94*d9f75844SAndroid Build Coastguard Worker      'modules_unittests': {
95*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-6'],
96*d9f75844SAndroid Build Coastguard Worker      },
97*d9f75844SAndroid Build Coastguard Worker      'peerconnection_unittests': {
98*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
99*d9f75844SAndroid Build Coastguard Worker      },
100*d9f75844SAndroid Build Coastguard Worker      'rtc_media_unittests': {},
101*d9f75844SAndroid Build Coastguard Worker      'rtc_pc_unittests': {},
102*d9f75844SAndroid Build Coastguard Worker      'rtc_stats_unittests': {},
103*d9f75844SAndroid Build Coastguard Worker      'rtc_unittests': {
104*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-6'],
105*d9f75844SAndroid Build Coastguard Worker      },
106*d9f75844SAndroid Build Coastguard Worker      'slow_peer_connection_unittests': {},
107*d9f75844SAndroid Build Coastguard Worker      'svc_tests': {
108*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
109*d9f75844SAndroid Build Coastguard Worker      },
110*d9f75844SAndroid Build Coastguard Worker      'system_wrappers_unittests': {},
111*d9f75844SAndroid Build Coastguard Worker      'test_support_unittests': {},
112*d9f75844SAndroid Build Coastguard Worker      'tools_unittests': {},
113*d9f75844SAndroid Build Coastguard Worker      'video_engine_tests': {
114*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
115*d9f75844SAndroid Build Coastguard Worker      },
116*d9f75844SAndroid Build Coastguard Worker      'voip_unittests': {},
117*d9f75844SAndroid Build Coastguard Worker      'webrtc_nonparallel_tests': {},
118*d9f75844SAndroid Build Coastguard Worker    },
119*d9f75844SAndroid Build Coastguard Worker    'fuchsia_compatible_perf_tests': {
120*d9f75844SAndroid Build Coastguard Worker      'fuchsia_perf_tests': {
121*d9f75844SAndroid Build Coastguard Worker        'mixins': ['perf-fuchsia-perf-tests'],
122*d9f75844SAndroid Build Coastguard Worker      },
123*d9f75844SAndroid Build Coastguard Worker    },
124*d9f75844SAndroid Build Coastguard Worker    'fuchsia_compatible_tests': {
125*d9f75844SAndroid Build Coastguard Worker      'audio_decoder_unittests': {},
126*d9f75844SAndroid Build Coastguard Worker      'common_audio_unittests': {},
127*d9f75844SAndroid Build Coastguard Worker      'common_video_unittests': {},
128*d9f75844SAndroid Build Coastguard Worker      'dcsctp_unittests': {},
129*d9f75844SAndroid Build Coastguard Worker      'low_bandwidth_audio_test': {
130*d9f75844SAndroid Build Coastguard Worker        'args': ['--quick']
131*d9f75844SAndroid Build Coastguard Worker      },
132*d9f75844SAndroid Build Coastguard Worker      'rtc_media_unittests': {},
133*d9f75844SAndroid Build Coastguard Worker      # TODO(bugs.webrtc.org/14705): Enable when NonGlobalFieldTrialsInstanceDoesNotModifyGlobalString is fixed.
134*d9f75844SAndroid Build Coastguard Worker      # TODO(bugs.webrtc.org/14700):  Enable when NetworkTest tests are fixed.
135*d9f75844SAndroid Build Coastguard Worker      # 'rtc_unittests': {},
136*d9f75844SAndroid Build Coastguard Worker      'rtc_pc_unittests': {},
137*d9f75844SAndroid Build Coastguard Worker      'svc_tests': {
138*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
139*d9f75844SAndroid Build Coastguard Worker      },
140*d9f75844SAndroid Build Coastguard Worker      'system_wrappers_unittests': {},
141*d9f75844SAndroid Build Coastguard Worker      # TODO(bugs.webrtc.org/14712):  Enable once network issue is fixed.
142*d9f75844SAndroid Build Coastguard Worker      # 'peerconnection_unittests': {},
143*d9f75844SAndroid Build Coastguard Worker      'video_engine_tests': {
144*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
145*d9f75844SAndroid Build Coastguard Worker      },
146*d9f75844SAndroid Build Coastguard Worker      'voip_unittests': {},
147*d9f75844SAndroid Build Coastguard Worker      # TODO(bugs.fuchsia.dev/115601): Enable when cpu time API's are implemented in Fuchsia
148*d9f75844SAndroid Build Coastguard Worker      # 'test_support_unittests': {},
149*d9f75844SAndroid Build Coastguard Worker      # TODO(bugs.webrtc.org/14707): chromium.test component needs to allow creating listening ports.
150*d9f75844SAndroid Build Coastguard Worker      # 'tools_unittests': {},
151*d9f75844SAndroid Build Coastguard Worker      #
152*d9f75844SAndroid Build Coastguard Worker    },
153*d9f75844SAndroid Build Coastguard Worker    'ios_device_tests': {
154*d9f75844SAndroid Build Coastguard Worker      # TODO(bugs.webrtc.org/11362): Real XCTests fail to start on devices.
155*d9f75844SAndroid Build Coastguard Worker      #'apprtcmobile_tests': {'mixins': ['xcodebuild-device-runner']},
156*d9f75844SAndroid Build Coastguard Worker      'common_audio_unittests': {},
157*d9f75844SAndroid Build Coastguard Worker      'common_video_unittests': {},
158*d9f75844SAndroid Build Coastguard Worker      'modules_tests': {
159*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-2', 'timeout-2h'],
160*d9f75844SAndroid Build Coastguard Worker        'args': [
161*d9f75844SAndroid Build Coastguard Worker          # Some tests exceed the default 180 seconds readline timeout.
162*d9f75844SAndroid Build Coastguard Worker          '--readline-timeout=1200',
163*d9f75844SAndroid Build Coastguard Worker        ]
164*d9f75844SAndroid Build Coastguard Worker      },
165*d9f75844SAndroid Build Coastguard Worker      'modules_unittests': {
166*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-6'],
167*d9f75844SAndroid Build Coastguard Worker      },
168*d9f75844SAndroid Build Coastguard Worker      'rtc_pc_unittests': {},
169*d9f75844SAndroid Build Coastguard Worker      'rtc_stats_unittests': {},
170*d9f75844SAndroid Build Coastguard Worker      # TODO(bugs.webrtc.org/11362): Real XCTests fail to start on devices.
171*d9f75844SAndroid Build Coastguard Worker      #'sdk_framework_unittests': {'mixins': ['xcodebuild-device-runner']},
172*d9f75844SAndroid Build Coastguard Worker      #'sdk_unittests': {'mixins': ['xcodebuild-device-runner']},
173*d9f75844SAndroid Build Coastguard Worker      'system_wrappers_unittests': {},
174*d9f75844SAndroid Build Coastguard Worker      'test_support_unittests': {},
175*d9f75844SAndroid Build Coastguard Worker      'tools_unittests': {},
176*d9f75844SAndroid Build Coastguard Worker      'video_capture_tests': {},
177*d9f75844SAndroid Build Coastguard Worker      'video_engine_tests': {
178*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
179*d9f75844SAndroid Build Coastguard Worker      },
180*d9f75844SAndroid Build Coastguard Worker    },
181*d9f75844SAndroid Build Coastguard Worker    'ios_simulator_tests': {
182*d9f75844SAndroid Build Coastguard Worker      'apprtcmobile_tests': {
183*d9f75844SAndroid Build Coastguard Worker        'mixins': ['xcode_parallelization']
184*d9f75844SAndroid Build Coastguard Worker      },
185*d9f75844SAndroid Build Coastguard Worker      'audio_decoder_unittests': {},
186*d9f75844SAndroid Build Coastguard Worker      'common_audio_unittests': {},
187*d9f75844SAndroid Build Coastguard Worker      'common_video_unittests': {},
188*d9f75844SAndroid Build Coastguard Worker      'dcsctp_unittests': {},
189*d9f75844SAndroid Build Coastguard Worker      'modules_tests': {
190*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-2'],
191*d9f75844SAndroid Build Coastguard Worker      },
192*d9f75844SAndroid Build Coastguard Worker      'modules_unittests': {
193*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-6'],
194*d9f75844SAndroid Build Coastguard Worker      },
195*d9f75844SAndroid Build Coastguard Worker      'rtc_media_unittests': {},
196*d9f75844SAndroid Build Coastguard Worker      'rtc_pc_unittests': {},
197*d9f75844SAndroid Build Coastguard Worker      'rtc_stats_unittests': {},
198*d9f75844SAndroid Build Coastguard Worker      'rtc_unittests': {
199*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-6'],
200*d9f75844SAndroid Build Coastguard Worker      },
201*d9f75844SAndroid Build Coastguard Worker      'sdk_framework_unittests': {
202*d9f75844SAndroid Build Coastguard Worker        'mixins': ['xcode_parallelization']
203*d9f75844SAndroid Build Coastguard Worker      },
204*d9f75844SAndroid Build Coastguard Worker      'sdk_unittests': {
205*d9f75844SAndroid Build Coastguard Worker        'mixins': ['xcode_parallelization']
206*d9f75844SAndroid Build Coastguard Worker      },
207*d9f75844SAndroid Build Coastguard Worker      'svc_tests': {
208*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4', 'cores-12'],
209*d9f75844SAndroid Build Coastguard Worker      },
210*d9f75844SAndroid Build Coastguard Worker      'system_wrappers_unittests': {},
211*d9f75844SAndroid Build Coastguard Worker      'test_support_unittests': {},
212*d9f75844SAndroid Build Coastguard Worker      'tools_unittests': {},
213*d9f75844SAndroid Build Coastguard Worker      'video_capture_tests': {},
214*d9f75844SAndroid Build Coastguard Worker      'video_engine_tests': {
215*d9f75844SAndroid Build Coastguard Worker        'mixins': ['shards-4'],
216*d9f75844SAndroid Build Coastguard Worker      },
217*d9f75844SAndroid Build Coastguard Worker      'voip_unittests': {},
218*d9f75844SAndroid Build Coastguard Worker      'webrtc_nonparallel_tests': {},
219*d9f75844SAndroid Build Coastguard Worker    },
220*d9f75844SAndroid Build Coastguard Worker    'linux_desktop_specific_tests': {
221*d9f75844SAndroid Build Coastguard Worker      'shared_screencast_stream_test': {},
222*d9f75844SAndroid Build Coastguard Worker    },
223*d9f75844SAndroid Build Coastguard Worker    'more_configs_tests': {
224*d9f75844SAndroid Build Coastguard Worker      'peerconnection_unittests': {
225*d9f75844SAndroid Build Coastguard Worker        'swarming': {
226*d9f75844SAndroid Build Coastguard Worker          'shards': 4
227*d9f75844SAndroid Build Coastguard Worker        },
228*d9f75844SAndroid Build Coastguard Worker      },
229*d9f75844SAndroid Build Coastguard Worker    },
230*d9f75844SAndroid Build Coastguard Worker    'video_capture_tests': {
231*d9f75844SAndroid Build Coastguard Worker      'video_capture_tests': {
232*d9f75844SAndroid Build Coastguard Worker        'mixins': ['baremetal-pool'],
233*d9f75844SAndroid Build Coastguard Worker      }
234*d9f75844SAndroid Build Coastguard Worker    },
235*d9f75844SAndroid Build Coastguard Worker    'video_capture_tests_tryserver': {
236*d9f75844SAndroid Build Coastguard Worker      'video_capture_tests': {
237*d9f75844SAndroid Build Coastguard Worker        'mixins': ['baremetal-try-pool'],
238*d9f75844SAndroid Build Coastguard Worker      }
239*d9f75844SAndroid Build Coastguard Worker    },
240*d9f75844SAndroid Build Coastguard Worker    'webrtc_perf_tests': {
241*d9f75844SAndroid Build Coastguard Worker      'webrtc_perf_tests': {
242*d9f75844SAndroid Build Coastguard Worker        'mixins': ['perf-webrtc-perf-tests'],
243*d9f75844SAndroid Build Coastguard Worker      },
244*d9f75844SAndroid Build Coastguard Worker    },
245*d9f75844SAndroid Build Coastguard Worker    'webrtc_perf_tests_tryserver': {
246*d9f75844SAndroid Build Coastguard Worker      'webrtc_perf_tests': {
247*d9f75844SAndroid Build Coastguard Worker        'mixins': ['quick-perf-tests', 'resultdb-gtest-json-format'],
248*d9f75844SAndroid Build Coastguard Worker      }
249*d9f75844SAndroid Build Coastguard Worker    },
250*d9f75844SAndroid Build Coastguard Worker  },
251*d9f75844SAndroid Build Coastguard Worker  'compound_suites': {
252*d9f75844SAndroid Build Coastguard Worker    'android_tests_tryserver': [
253*d9f75844SAndroid Build Coastguard Worker      'android_tests',
254*d9f75844SAndroid Build Coastguard Worker      'android_webrtc_perf_tests_tryserver',
255*d9f75844SAndroid Build Coastguard Worker    ],
256*d9f75844SAndroid Build Coastguard Worker    'desktop_tests_tryserver': [
257*d9f75844SAndroid Build Coastguard Worker      'desktop_tests',
258*d9f75844SAndroid Build Coastguard Worker      'video_capture_tests_tryserver',
259*d9f75844SAndroid Build Coastguard Worker      'webrtc_perf_tests_tryserver',
260*d9f75844SAndroid Build Coastguard Worker    ],
261*d9f75844SAndroid Build Coastguard Worker    'desktop_tests_with_video_capture': [
262*d9f75844SAndroid Build Coastguard Worker      'desktop_tests',
263*d9f75844SAndroid Build Coastguard Worker      'video_capture_tests',
264*d9f75844SAndroid Build Coastguard Worker    ],
265*d9f75844SAndroid Build Coastguard Worker    'linux_desktop_tests_tryserver': [
266*d9f75844SAndroid Build Coastguard Worker      'desktop_tests',
267*d9f75844SAndroid Build Coastguard Worker      'linux_desktop_specific_tests',
268*d9f75844SAndroid Build Coastguard Worker      'video_capture_tests_tryserver',
269*d9f75844SAndroid Build Coastguard Worker      'webrtc_perf_tests_tryserver',
270*d9f75844SAndroid Build Coastguard Worker    ],
271*d9f75844SAndroid Build Coastguard Worker    'linux_desktop_tests_with_video_capture': [
272*d9f75844SAndroid Build Coastguard Worker      'desktop_tests',
273*d9f75844SAndroid Build Coastguard Worker      'linux_desktop_specific_tests',
274*d9f75844SAndroid Build Coastguard Worker      'video_capture_tests',
275*d9f75844SAndroid Build Coastguard Worker    ],
276*d9f75844SAndroid Build Coastguard Worker    'linux_tests': [
277*d9f75844SAndroid Build Coastguard Worker      'desktop_tests',
278*d9f75844SAndroid Build Coastguard Worker      'linux_desktop_specific_tests',
279*d9f75844SAndroid Build Coastguard Worker    ],
280*d9f75844SAndroid Build Coastguard Worker  },
281*d9f75844SAndroid Build Coastguard Worker}
282