OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import argparse | 6 import argparse |
7 import os | 7 import os |
8 import subprocess | 8 import subprocess |
9 import sys | 9 import sys |
10 import time | 10 import time |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 # input_event.newlib_release_test | 66 # input_event.newlib_release_test |
67 # pi_generator.glibc_debug_test | 67 # pi_generator.glibc_debug_test |
68 # pi_generator.glibc_release_test | 68 # pi_generator.glibc_release_test |
69 # input_event.glibc_debug_test | 69 # input_event.glibc_debug_test |
70 # input_event.glibc_release_test | 70 # input_event.glibc_release_test |
71 DISABLED_TESTS = [ | 71 DISABLED_TESTS = [ |
72 # TODO(binji): Disable 3D examples on linux/win/mac. See | 72 # TODO(binji): Disable 3D examples on linux/win/mac. See |
73 # http://crbug.com/262379. | 73 # http://crbug.com/262379. |
74 {'name': 'graphics_3d', 'platform': ('win', 'linux', 'mac')}, | 74 {'name': 'graphics_3d', 'platform': ('win', 'linux', 'mac')}, |
75 {'name': 'video_decode', 'platform': ('win', 'linux', 'mac')}, | 75 {'name': 'video_decode', 'platform': ('win', 'linux', 'mac')}, |
| 76 {'name': 'video_encode', 'platform': ('win', 'linux', 'mac')}, |
76 # media_stream_audio uses audio input devices which are not supported. | 77 # media_stream_audio uses audio input devices which are not supported. |
77 {'name': 'media_stream_audio', 'platform': ('win', 'linux', 'mac')}, | 78 {'name': 'media_stream_audio', 'platform': ('win', 'linux', 'mac')}, |
78 # media_stream_video uses 3D and webcam which are not supported. | 79 # media_stream_video uses 3D and webcam which are not supported. |
79 {'name': 'media_stream_video', 'platform': ('win', 'linux', 'mac')}, | 80 {'name': 'media_stream_video', 'platform': ('win', 'linux', 'mac')}, |
80 # TODO(binji): These tests timeout on the trybots because the NEXEs take | 81 # TODO(binji): These tests timeout on the trybots because the NEXEs take |
81 # more than 40 seconds to load (!). See http://crbug.com/280753 | 82 # more than 40 seconds to load (!). See http://crbug.com/280753 |
82 {'name': 'nacl_io_test', 'platform': 'win', 'toolchain': 'glibc'}, | 83 {'name': 'nacl_io_test', 'platform': 'win', 'toolchain': 'glibc'}, |
83 # We don't test "getting_started/part1" because it would complicate the | 84 # We don't test "getting_started/part1" because it would complicate the |
84 # example. | 85 # example. |
85 # TODO(binji): figure out a way to inject the testing code without | 86 # TODO(binji): figure out a way to inject the testing code without |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 | 376 |
376 | 377 |
377 if __name__ == '__main__': | 378 if __name__ == '__main__': |
378 script_name = os.path.basename(sys.argv[0]) | 379 script_name = os.path.basename(sys.argv[0]) |
379 try: | 380 try: |
380 sys.exit(main(sys.argv[1:])) | 381 sys.exit(main(sys.argv[1:])) |
381 except parse_dsc.ValidationError as e: | 382 except parse_dsc.ValidationError as e: |
382 buildbot_common.ErrorExit('%s: %s' % (script_name, e)) | 383 buildbot_common.ErrorExit('%s: %s' % (script_name, e)) |
383 except KeyboardInterrupt: | 384 except KeyboardInterrupt: |
384 buildbot_common.ErrorExit('%s: interrupted' % script_name) | 385 buildbot_common.ErrorExit('%s: interrupted' % script_name) |
OLD | NEW |