OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 os | 6 import os |
7 import subprocess | 7 import subprocess |
8 import sys | 8 import sys |
9 | 9 |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 # TODO(nfullagar): Reenable when this issue is resolved. | 31 # TODO(nfullagar): Reenable when this issue is resolved. |
32 # http://code.google.com/p/chromium/issues/detail?id=116169 | 32 # http://code.google.com/p/chromium/issues/detail?id=116169 |
33 tests_to_disable.append('run_ppapi_example_audio_test'); | 33 tests_to_disable.append('run_ppapi_example_audio_test'); |
34 # TODO(ncbray): Reenable when this issue is resolved. | 34 # TODO(ncbray): Reenable when this issue is resolved. |
35 # http://code.google.com/p/nativeclient/issues/detail?id=2091 | 35 # http://code.google.com/p/nativeclient/issues/detail?id=2091 |
36 tests_to_disable.append('run_ppapi_bad_browser_test') | 36 tests_to_disable.append('run_ppapi_bad_browser_test') |
37 # This thread safety stress test is flaky on at least Windows. | 37 # This thread safety stress test is flaky on at least Windows. |
38 # See http://code.google.com/p/nativeclient/issues/detail?id=2124 | 38 # See http://code.google.com/p/nativeclient/issues/detail?id=2124 |
39 # TODO(mseaborn): Reenable when this issue is resolved. | 39 # TODO(mseaborn): Reenable when this issue is resolved. |
40 tests_to_disable.append('run_ppapi_ppb_var_browser_test') | 40 tests_to_disable.append('run_ppapi_ppb_var_browser_test') |
41 # The behavior of the URLRequest changed slightly and this test needs to be | |
42 # updated. http://code.google.com/p/chromium/issues/detail?id=94352 | |
43 tests_to_disable.append('run_ppapi_ppb_url_request_info_browser_test') | |
44 # This test failed and caused the build's gatekeep to close the tree. | |
45 # http://code.google.com/p/chromium/issues/detail?id=96434 | |
46 tests_to_disable.append('run_ppapi_example_post_message_test') | |
47 # These tests are flakey on the chrome waterfall and need to be looked at. | |
48 # TODO(bsy): http://code.google.com/p/nativeclient/issues/detail?id=2509 | |
49 tests_to_disable.append('run_pm_redir_stderr_fg_0_chrome_browser_test') | |
50 tests_to_disable.append('run_pm_redir_stderr_bg_0_chrome_browser_test') | |
51 tests_to_disable.append('run_pm_redir_stderr_bg_1000_chrome_browser_test') | |
52 tests_to_disable.append('run_pm_redir_stderr_bg_1000000_chrome_browser_test'
) | |
53 # http://code.google.com/p/nativeclient/issues/detail?id=2511 | 41 # http://code.google.com/p/nativeclient/issues/detail?id=2511 |
54 tests_to_disable.append('run_ppapi_ppb_image_data_browser_test') | 42 tests_to_disable.append('run_ppapi_ppb_image_data_browser_test') |
55 # Font API is only exported to trusted plugins now, and this test should be | |
56 # removed. | |
57 tests_to_disable.append('run_ppapi_example_font_test') | |
58 | 43 |
59 # TODO(ncbray) why did these tests flake? | 44 # TODO(ncbray) are these tests stable? |
60 # http://code.google.com/p/nativeclient/issues/detail?id=2230 | |
61 tests_to_disable.extend([ | 45 tests_to_disable.extend([ |
62 'run_pm_manifest_file_chrome_browser_test', | |
63 'run_srpc_basic_chrome_browser_test', | |
64 'run_srpc_hw_data_chrome_browser_test', | |
65 'run_srpc_hw_chrome_browser_test', | |
66 'run_srpc_manifest_file_chrome_browser_test', | |
67 'run_srpc_nameservice_chrome_browser_test', | |
68 'run_srpc_nrd_xfer_chrome_browser_test', | |
69 'run_no_fault_pm_nameservice_chrome_browser_test', | 46 'run_no_fault_pm_nameservice_chrome_browser_test', |
70 'run_fault_pm_nameservice_chrome_browser_test', | 47 'run_fault_pm_nameservice_chrome_browser_test', |
71 'run_fault_pq_os_pm_nameservice_chrome_browser_test', | 48 'run_fault_pq_os_pm_nameservice_chrome_browser_test', |
72 'run_fault_pq_dep_pm_nameservice_chrome_browser_test', | 49 'run_fault_pq_dep_pm_nameservice_chrome_browser_test', |
73 ]) | 50 ]) |
74 | 51 |
75 if sys.platform == 'darwin': | 52 if sys.platform == 'darwin': |
76 # TODO(mseaborn) fix | 53 # TODO(mseaborn) fix |
77 # http://code.google.com/p/nativeclient/issues/detail?id=1835 | 54 # http://code.google.com/p/nativeclient/issues/detail?id=1835 |
78 tests_to_disable.append('run_ppapi_crash_browser_test') | 55 tests_to_disable.append('run_ppapi_crash_browser_test') |
(...skipping 26 matching lines...) Expand all Loading... |
105 '--disable_glibc', | 82 '--disable_glibc', |
106 '--disable_tests=%s' % ','.join(tests_to_disable)] | 83 '--disable_tests=%s' % ','.join(tests_to_disable)] |
107 cmd += args | 84 cmd += args |
108 sys.stdout.write('Running %s\n' % ' '.join(cmd)) | 85 sys.stdout.write('Running %s\n' % ' '.join(cmd)) |
109 sys.stdout.flush() | 86 sys.stdout.flush() |
110 return subprocess.call(cmd) | 87 return subprocess.call(cmd) |
111 | 88 |
112 | 89 |
113 if __name__ == '__main__': | 90 if __name__ == '__main__': |
114 sys.exit(Main(sys.argv[1:])) | 91 sys.exit(Main(sys.argv[1:])) |
OLD | NEW |