| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 # http://code.google.com/p/chromium/issues/detail?id=96434 | 42 # http://code.google.com/p/chromium/issues/detail?id=96434 |
| 43 tests_to_disable.append('run_ppapi_example_post_message_test') | 43 tests_to_disable.append('run_ppapi_example_post_message_test') |
| 44 # These tests are flakey on the chrome waterfall and need to be looked at. | 44 # These tests are flakey on the chrome waterfall and need to be looked at. |
| 45 # TODO(bsy): http://code.google.com/p/nativeclient/issues/detail?id=2509 | 45 # TODO(bsy): http://code.google.com/p/nativeclient/issues/detail?id=2509 |
| 46 tests_to_disable.append('run_pm_redir_stderr_fg_0_chrome_browser_test') | 46 tests_to_disable.append('run_pm_redir_stderr_fg_0_chrome_browser_test') |
| 47 tests_to_disable.append('run_pm_redir_stderr_bg_0_chrome_browser_test') | 47 tests_to_disable.append('run_pm_redir_stderr_bg_0_chrome_browser_test') |
| 48 tests_to_disable.append('run_pm_redir_stderr_bg_1000_chrome_browser_test') | 48 tests_to_disable.append('run_pm_redir_stderr_bg_1000_chrome_browser_test') |
| 49 tests_to_disable.append('run_pm_redir_stderr_bg_1000000_chrome_browser_test'
) | 49 tests_to_disable.append('run_pm_redir_stderr_bg_1000000_chrome_browser_test'
) |
| 50 # http://code.google.com/p/nativeclient/issues/detail?id=2511 | 50 # http://code.google.com/p/nativeclient/issues/detail?id=2511 |
| 51 tests_to_disable.append('run_ppapi_ppb_image_data_browser_test') | 51 tests_to_disable.append('run_ppapi_ppb_image_data_browser_test') |
| 52 # TODO(cdn): Reenable once we can pass | |
| 53 # --disable-extensions-resource-whitelist to chrome for this test. | |
| 54 # http://code.google.com/p/nativeclient/issues/detail?id=108131 | |
| 55 tests_to_disable.append('run_ppapi_extension_mime_handler_browser_test') | |
| 56 | |
| 57 | 52 |
| 58 # TODO(ncbray) why did these tests flake? | 53 # TODO(ncbray) why did these tests flake? |
| 59 # http://code.google.com/p/nativeclient/issues/detail?id=2230 | 54 # http://code.google.com/p/nativeclient/issues/detail?id=2230 |
| 60 tests_to_disable.extend([ | 55 tests_to_disable.extend([ |
| 61 'run_pm_manifest_file_chrome_browser_test', | 56 'run_pm_manifest_file_chrome_browser_test', |
| 62 'run_srpc_basic_chrome_browser_test', | 57 'run_srpc_basic_chrome_browser_test', |
| 63 'run_srpc_hw_data_chrome_browser_test', | 58 'run_srpc_hw_data_chrome_browser_test', |
| 64 'run_srpc_hw_chrome_browser_test', | 59 'run_srpc_hw_chrome_browser_test', |
| 65 'run_srpc_manifest_file_chrome_browser_test', | 60 'run_srpc_manifest_file_chrome_browser_test', |
| 66 'run_srpc_nameservice_chrome_browser_test', | 61 'run_srpc_nameservice_chrome_browser_test', |
| (...skipping 26 matching lines...) Expand all Loading... |
| 93 '--', | 88 '--', |
| 94 nacl_integration_script, | 89 nacl_integration_script, |
| 95 '--disable_tests=%s' % ','.join(tests_to_disable)] + args | 90 '--disable_tests=%s' % ','.join(tests_to_disable)] + args |
| 96 sys.stdout.write('Running %s\n' % ' '.join(cmd)) | 91 sys.stdout.write('Running %s\n' % ' '.join(cmd)) |
| 97 sys.stdout.flush() | 92 sys.stdout.flush() |
| 98 return subprocess.call(cmd) | 93 return subprocess.call(cmd) |
| 99 | 94 |
| 100 | 95 |
| 101 if __name__ == '__main__': | 96 if __name__ == '__main__': |
| 102 sys.exit(Main(sys.argv[1:])) | 97 sys.exit(Main(sys.argv[1:])) |
| OLD | NEW |