| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2017 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 parser.add_argument('--build_dir_x86', | 44 parser.add_argument('--build_dir_x86', |
| 45 help='The path to the build directory for building locally.') | 45 help='The path to the build directory for building locally.') |
| 46 parser.add_argument('--temp_dir', | 46 parser.add_argument('--temp_dir', |
| 47 help='A temporary directory to put the output.') | 47 help='A temporary directory to put the output.') |
| 48 | 48 |
| 49 args = parser.parse_args() | 49 args = parser.parse_args() |
| 50 return args | 50 return args |
| 51 | 51 |
| 52 | 52 |
| 53 def main(): | 53 def main(): |
| 54 print '@@@STEP_WARNINGS@@@' |
| 55 print 'This test is currently disabled (https://bugs.webrtc.org/7185)' |
| 56 print '@@@STEP_LINK@Disabled@https://bugs.webrtc.org/7185@@@ (webrtc:7185)' |
| 57 sys.exit(0) |
| 58 |
| 54 logging.basicConfig(level=logging.INFO) | 59 logging.basicConfig(level=logging.INFO) |
| 55 | 60 |
| 56 args = _ParseArgs() | 61 args = _ParseArgs() |
| 57 | 62 |
| 58 build_dir_android = args.build_dir_android | 63 build_dir_android = args.build_dir_android |
| 59 build_dir_x86 = args.build_dir_x86 | 64 build_dir_x86 = args.build_dir_x86 |
| 60 temp_dir = args.temp_dir | 65 temp_dir = args.temp_dir |
| 61 if not temp_dir: | 66 if not temp_dir: |
| 62 temp_dir = tempfile.mkdtemp() | 67 temp_dir = tempfile.mkdtemp() |
| 63 else: | 68 else: |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 '--stats_file_ref', stats_file_ref, | 129 '--stats_file_ref', stats_file_ref, |
| 125 '--stats_file_test', stats_file_test, '--frame_analyzer', frame_analyzer, | 130 '--stats_file_test', stats_file_test, '--frame_analyzer', frame_analyzer, |
| 126 '--ffmpeg_path', ffmpeg_path, '--zxing_path', zxing_path]) | 131 '--ffmpeg_path', ffmpeg_path, '--zxing_path', zxing_path]) |
| 127 | 132 |
| 128 shutil.rmtree(temp_dir) | 133 shutil.rmtree(temp_dir) |
| 129 | 134 |
| 130 | 135 |
| 131 if __name__ == '__main__': | 136 if __name__ == '__main__': |
| 132 sys.exit(main()) | 137 sys.exit(main()) |
| 133 | 138 |
| OLD | NEW |