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 'This test is currently disabled (https://bugs.webrtc.org/7185)' | |
55 return 0 | |
56 | |
57 # pylint: disable=W0101 | |
58 logging.basicConfig(level=logging.INFO) | 54 logging.basicConfig(level=logging.INFO) |
59 | 55 |
60 args = _ParseArgs() | 56 args = _ParseArgs() |
61 | 57 |
62 build_dir_android = args.build_dir_android | 58 build_dir_android = args.build_dir_android |
63 build_dir_x86 = args.build_dir_x86 | 59 build_dir_x86 = args.build_dir_x86 |
64 temp_dir = args.temp_dir | 60 temp_dir = args.temp_dir |
65 if not temp_dir: | 61 if not temp_dir: |
66 temp_dir = tempfile.mkdtemp() | 62 temp_dir = tempfile.mkdtemp() |
67 else: | 63 else: |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 '--stats_file_ref', stats_file_ref, | 124 '--stats_file_ref', stats_file_ref, |
129 '--stats_file_test', stats_file_test, '--frame_analyzer', frame_analyzer, | 125 '--stats_file_test', stats_file_test, '--frame_analyzer', frame_analyzer, |
130 '--ffmpeg_path', ffmpeg_path, '--zxing_path', zxing_path]) | 126 '--ffmpeg_path', ffmpeg_path, '--zxing_path', zxing_path]) |
131 | 127 |
132 shutil.rmtree(temp_dir) | 128 shutil.rmtree(temp_dir) |
133 | 129 |
134 | 130 |
135 if __name__ == '__main__': | 131 if __name__ == '__main__': |
136 sys.exit(main()) | 132 sys.exit(main()) |
137 | 133 |
OLD | NEW |