| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 3 # | 3 # |
| 4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
| 5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
| 6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
| 7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
| 8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
| 9 | 9 |
| 10 """ | 10 """ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 | 27 |
| 28 import test_runner # pylint: disable=W0406 | 28 import test_runner # pylint: disable=W0406 |
| 29 from pylib.gtest import gtest_test_instance | 29 from pylib.gtest import gtest_test_instance |
| 30 | 30 |
| 31 def main(): | 31 def main(): |
| 32 # Set our own paths to the .isolate files. | 32 # Set our own paths to the .isolate files. |
| 33 # pylint: disable=protected-access | 33 # pylint: disable=protected-access |
| 34 gtest_test_instance._DEFAULT_ISOLATE_FILE_PATHS.update({ | 34 gtest_test_instance._DEFAULT_ISOLATE_FILE_PATHS.update({ |
| 35 'audio_decoder_unittests': | 35 'audio_decoder_unittests': |
| 36 'webrtc/modules/audio_coding/neteq/audio_decoder_unittests.isolate', | 36 'webrtc/modules/audio_decoder_unittests.isolate', |
| 37 'common_audio_unittests': | 37 'common_audio_unittests': |
| 38 'webrtc/common_audio/common_audio_unittests.isolate', | 38 'webrtc/common_audio/common_audio_unittests.isolate', |
| 39 'common_video_unittests': | 39 'common_video_unittests': |
| 40 'webrtc/common_video/common_video_unittests.isolate', | 40 'webrtc/common_video/common_video_unittests.isolate', |
| 41 'modules_tests': 'webrtc/modules/modules_tests.isolate', | 41 'modules_tests': 'webrtc/modules/modules_tests.isolate', |
| 42 'modules_unittests': 'webrtc/modules/modules_unittests.isolate', | 42 'modules_unittests': 'webrtc/modules/modules_unittests.isolate', |
| 43 'rtc_unittests': 'webrtc/rtc_unittests.isolate', | 43 'rtc_unittests': 'webrtc/rtc_unittests.isolate', |
| 44 'system_wrappers_unittests': | 44 'system_wrappers_unittests': |
| 45 'webrtc/system_wrappers/system_wrappers_unittests.isolate', | 45 'webrtc/system_wrappers/system_wrappers_unittests.isolate', |
| 46 'test_support_unittests': 'webrtc/test/test_support_unittests.isolate', | 46 'test_support_unittests': 'webrtc/test/test_support_unittests.isolate', |
| 47 'tools_unittests': 'webrtc/tools/tools_unittests.isolate', | 47 'tools_unittests': 'webrtc/tools/tools_unittests.isolate', |
| 48 'video_capture_tests': | 48 'video_capture_tests': |
| 49 'webrtc/modules/video_capture/video_capture_tests.isolate', | 49 'webrtc/modules/video_capture/video_capture_tests.isolate', |
| 50 'video_engine_tests': 'webrtc/video_engine_tests.isolate', | 50 'video_engine_tests': 'webrtc/video_engine_tests.isolate', |
| 51 'video_engine_core_unittests': | 51 'video_engine_core_unittests': |
| 52 'webrtc/video_engine/video_engine_core_unittests.isolate', | 52 'webrtc/video_engine/video_engine_core_unittests.isolate', |
| 53 'voice_engine_unittests': | 53 'voice_engine_unittests': |
| 54 'webrtc/voice_engine/voice_engine_unittests.isolate', | 54 'webrtc/voice_engine/voice_engine_unittests.isolate', |
| 55 'webrtc_perf_tests': 'webrtc/webrtc_perf_tests.isolate', | 55 'webrtc_perf_tests': 'webrtc/webrtc_perf_tests.isolate', |
| 56 }) | 56 }) |
| 57 # Override environment variable to make it possible for the scripts to find | 57 # Override environment variable to make it possible for the scripts to find |
| 58 # the root directory (our symlinking of the Chromium build toolchain would | 58 # the root directory (our symlinking of the Chromium build toolchain would |
| 59 # otherwise make them fail to do so). | 59 # otherwise make them fail to do so). |
| 60 os.environ['CHECKOUT_SOURCE_ROOT'] = SRC_DIR | 60 os.environ['CHECKOUT_SOURCE_ROOT'] = SRC_DIR |
| 61 return test_runner.main() | 61 return test_runner.main() |
| 62 | 62 |
| 63 if __name__ == '__main__': | 63 if __name__ == '__main__': |
| 64 sys.exit(main()) | 64 sys.exit(main()) |
| OLD | NEW |