| OLD | NEW |
| (Empty) | |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from slave import recipe_api |
| 6 |
| 7 class WebRTCApi(recipe_api.RecipeApi): |
| 8 def __init__(self, **kwargs): |
| 9 super(WebRTCApi, self).__init__(**kwargs) |
| 10 self._env = {} |
| 11 |
| 12 NORMAL_TESTS = [ |
| 13 'audio_decoder_unittests', |
| 14 'common_audio_unittests', |
| 15 'common_video_unittests', |
| 16 'libjingle_media_unittest', |
| 17 'libjingle_p2p_unittest', |
| 18 'libjingle_peerconnection_unittest', |
| 19 'libjingle_sound_unittest', |
| 20 'libjingle_unittest', |
| 21 'metrics_unittests', |
| 22 'modules_tests', |
| 23 'modules_unittests', |
| 24 'neteq_unittests', |
| 25 'system_wrappers_unittests', |
| 26 'test_support_unittests', |
| 27 'tools_unittests', |
| 28 'video_engine_core_unittests', |
| 29 'video_engine_tests', |
| 30 'voice_engine_unittests', |
| 31 ] |
| 32 |
| 33 def apply_svn_patch(self): |
| 34 script = self.m.path.build('scripts', 'slave', 'apply_svn_patch.py') |
| 35 args = ['-p', self.m.properties['patch_url'], |
| 36 '-r', self.c.patch_root_dir] |
| 37 |
| 38 # Allow manipulating patches for try jobs. |
| 39 if self.c.patch_filter_script and self.c.patch_path_filter: |
| 40 args += ['--filter-script', self.c.patch_filter_script, |
| 41 '--strip-level', self.c.patch_strip_level, |
| 42 '--', '--path-filter', self.c.patch_path_filter] |
| 43 return self.m.python('apply_patch', script, args) |
| OLD | NEW |