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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 {'name': 'video_encode', 'platform': ('win', 'linux', 'mac')}, |
| 77 # TODO(sbc): Disable pi_generator on linux/win/mac. See |
| 78 # http://crbug.com/475255. |
| 79 {'name': 'pi_generator', 'platform': ('win', 'linux', 'mac')}, |
77 # media_stream_audio uses audio input devices which are not supported. | 80 # media_stream_audio uses audio input devices which are not supported. |
78 {'name': 'media_stream_audio', 'platform': ('win', 'linux', 'mac')}, | 81 {'name': 'media_stream_audio', 'platform': ('win', 'linux', 'mac')}, |
79 # media_stream_video uses 3D and webcam which are not supported. | 82 # media_stream_video uses 3D and webcam which are not supported. |
80 {'name': 'media_stream_video', 'platform': ('win', 'linux', 'mac')}, | 83 {'name': 'media_stream_video', 'platform': ('win', 'linux', 'mac')}, |
81 # TODO(binji): These tests timeout on the trybots because the NEXEs take | 84 # TODO(binji): These tests timeout on the trybots because the NEXEs take |
82 # more than 40 seconds to load (!). See http://crbug.com/280753 | 85 # more than 40 seconds to load (!). See http://crbug.com/280753 |
83 {'name': 'nacl_io_test', 'platform': 'win', 'toolchain': 'glibc'}, | 86 {'name': 'nacl_io_test', 'platform': 'win', 'toolchain': 'glibc'}, |
84 # We don't test "getting_started/part1" because it would complicate the | 87 # We don't test "getting_started/part1" because it would complicate the |
85 # example. | 88 # example. |
86 # TODO(binji): figure out a way to inject the testing code without | 89 # 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... |
376 | 379 |
377 | 380 |
378 if __name__ == '__main__': | 381 if __name__ == '__main__': |
379 script_name = os.path.basename(sys.argv[0]) | 382 script_name = os.path.basename(sys.argv[0]) |
380 try: | 383 try: |
381 sys.exit(main(sys.argv[1:])) | 384 sys.exit(main(sys.argv[1:])) |
382 except parse_dsc.ValidationError as e: | 385 except parse_dsc.ValidationError as e: |
383 buildbot_common.ErrorExit('%s: %s' % (script_name, e)) | 386 buildbot_common.ErrorExit('%s: %s' % (script_name, e)) |
384 except KeyboardInterrupt: | 387 except KeyboardInterrupt: |
385 buildbot_common.ErrorExit('%s: interrupted' % script_name) | 388 buildbot_common.ErrorExit('%s: interrupted' % script_name) |
OLD | NEW |