| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 tests_to_disable.append('run_ppapi_crash_browser_test') | 43 tests_to_disable.append('run_ppapi_crash_browser_test') |
| 44 | 44 |
| 45 if sys.platform in ('win32', 'cygwin'): | 45 if sys.platform in ('win32', 'cygwin'): |
| 46 # This one is only failing for nacl_glibc on x64 Windows but it is not | 46 # This one is only failing for nacl_glibc on x64 Windows but it is not |
| 47 # clear how to disable only that limited case. | 47 # clear how to disable only that limited case. |
| 48 # See http://crbug.com/132395 | 48 # See http://crbug.com/132395 |
| 49 tests_to_disable.append('run_inbrowser_test_runner') | 49 tests_to_disable.append('run_inbrowser_test_runner') |
| 50 # run_breakpad_browser_process_crash_test is flaky. | 50 # run_breakpad_browser_process_crash_test is flaky. |
| 51 # See http://crbug.com/317890 | 51 # See http://crbug.com/317890 |
| 52 tests_to_disable.append('run_breakpad_browser_process_crash_test') | 52 tests_to_disable.append('run_breakpad_browser_process_crash_test') |
| 53 # See http://crbug.com/332301 |
| 54 tests_to_disable.append('run_breakpad_crash_in_syscall_test') |
| 53 | 55 |
| 54 script_dir = os.path.dirname(os.path.abspath(__file__)) | 56 script_dir = os.path.dirname(os.path.abspath(__file__)) |
| 55 nacl_integration_script = os.path.join(script_dir, | 57 nacl_integration_script = os.path.join(script_dir, |
| 56 'buildbot_chrome_nacl_stage.py') | 58 'buildbot_chrome_nacl_stage.py') |
| 57 cmd = [sys.executable, | 59 cmd = [sys.executable, |
| 58 nacl_integration_script, | 60 nacl_integration_script, |
| 59 # TODO(ncbray) re-enable. | 61 # TODO(ncbray) re-enable. |
| 60 # https://code.google.com/p/chromium/issues/detail?id=133568 | 62 # https://code.google.com/p/chromium/issues/detail?id=133568 |
| 61 '--disable_glibc', | 63 '--disable_glibc', |
| 62 '--disable_tests=%s' % ','.join(tests_to_disable)] | 64 '--disable_tests=%s' % ','.join(tests_to_disable)] |
| 63 cmd += args | 65 cmd += args |
| 64 sys.stdout.write('Running %s\n' % ' '.join(cmd)) | 66 sys.stdout.write('Running %s\n' % ' '.join(cmd)) |
| 65 sys.stdout.flush() | 67 sys.stdout.flush() |
| 66 return subprocess.call(cmd) | 68 return subprocess.call(cmd) |
| 67 | 69 |
| 68 | 70 |
| 69 if __name__ == '__main__': | 71 if __name__ == '__main__': |
| 70 sys.exit(Main(sys.argv[1:])) | 72 sys.exit(Main(sys.argv[1:])) |
| OLD | NEW |