| Index: scripts/slave/recipe_modules/webrtc/api.py
|
| diff --git a/scripts/slave/recipe_modules/webrtc/api.py b/scripts/slave/recipe_modules/webrtc/api.py
|
| index 6790160990b1f1bb884ee6a48f7e3d27a426a219..5b13d2391a27f84271fd918ee19fd86a77102efe 100644
|
| --- a/scripts/slave/recipe_modules/webrtc/api.py
|
| +++ b/scripts/slave/recipe_modules/webrtc/api.py
|
| @@ -27,32 +27,11 @@ class WebRTCApi(recipe_api.RecipeApi):
|
|
|
| def add_baremetal_tests(self):
|
| """Adds baremetal tests, which are different depending on the platform."""
|
| - vie_auto_test_args = [
|
| - '--automated',
|
| - '--capture_test_ensure_resolution_alignment_in_capture_device=false',
|
| - ]
|
| -
|
| c = self.m.chromium
|
| path = self.m.path
|
|
|
| - if self.m.platform.is_win:
|
| - yield (
|
| - c.runtest('audio_device_tests'),
|
| - c.runtest('vie_auto_test', args=vie_auto_test_args),
|
| - c.runtest('video_capture_tests'),
|
| - c.runtest('voe_auto_test', args=['--automated']),
|
| - )
|
| - elif self.m.platform.is_mac:
|
| - yield (
|
| - c.runtest('audio_device_tests'),
|
| - c.runtest(('libjingle_peerconnection_objc_test.app/Contents/MacOS/'
|
| - 'libjingle_peerconnection_objc_test'),
|
| - name='libjingle_peerconnection_objc_test',
|
| - args=vie_auto_test_args),
|
| - c.runtest('vie_auto_test', args=vie_auto_test_args),
|
| - c.runtest('video_capture_tests'),
|
| - c.runtest('voe_auto_test', args=['--automated']),
|
| - )
|
| + if self.m.platform.is_win or self.m.platform.is_mac:
|
| + yield c.runtest('audio_device_tests')
|
| elif self.m.platform.is_linux:
|
| yield (
|
| c.runtest('audioproc', name='audioproc_perf',
|
| @@ -64,11 +43,17 @@ class WebRTCApi(recipe_api.RecipeApi):
|
| 'isac_speech_and_misc_wb.pcm']),
|
| c.runtest('libjingle_peerconnection_java_unittest',
|
| env={'LD_PRELOAD': '/usr/lib/x86_64-linux-gnu/libpulse.so.0'}),
|
| - c.runtest('vie_auto_test', args=vie_auto_test_args),
|
| - c.runtest('video_capture_tests'),
|
| - c.runtest('voe_auto_test', args=['--automated']),
|
| )
|
|
|
| + yield (
|
| + c.runtest('vie_auto_test', args=[
|
| + '--automated',
|
| + '--capture_test_ensure_resolution_alignment_in_capture_device=false']),
|
| + c.runtest('voe_auto_test', args=['--automated']),
|
| + c.runtest('video_capture_tests'),
|
| + c.runtest('webrtc_perf_tests'),
|
| + )
|
| +
|
| def apply_svn_patch(self):
|
| script = self.m.path.build('scripts', 'slave', 'apply_svn_patch.py')
|
| # Use the SVN mirror as the slaves only have authentication setup for that.
|
|
|