Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: scripts/slave/recipe_modules/webrtc/api.py

Issue 177553005: Updates to WebRTC Baremetal recipe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Use Chromium's SVN mirror for WebRTC when run in Chrome infra. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/webrtc/gclient_config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 581a24e15091ea5c80502618c9f772ae733a2caf..1e0e68ac25c808f59a8fc204918b7524a63e0ac3 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',
@@ -63,13 +42,18 @@ class WebRTCApi(recipe_api.RecipeApi):
path.checkout('resources/speech_and_misc_wb.pcm'),
'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']),
+ env={'LD_PRELOAD': '/usr/lib/x86_64-linux-gnu/libpulse.so.0'}),
)
+ 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'].join('scripts', 'slave', 'apply_svn_patch.py')
# Use the SVN mirror as the slaves only have authentication setup for that.
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/webrtc/gclient_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698