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