| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- 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 | 7 |
| 8 Import('env') | 8 Import('env') |
| 9 | 9 |
| 10 if env.Bit('host_windows') or env.Bit('host_mac'): | 10 if env.Bit('host_windows') or env.Bit('host_mac'): |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 python_tester_script=env.File('crash_dump_tester.py'), | 76 python_tester_script=env.File('crash_dump_tester.py'), |
| 77 url='crash_in_syscall.html', | 77 url='crash_in_syscall.html', |
| 78 nmf_names=['crash_in_syscall'], | 78 nmf_names=['crash_in_syscall'], |
| 79 files=[GetNexeByName('crash_in_syscall'), | 79 files=[GetNexeByName('crash_in_syscall'), |
| 80 env.File('crash_in_syscall.html')], | 80 env.File('crash_in_syscall.html')], |
| 81 args=platform_args + ['--expected_crash_dumps=%i' % expected_crash_dumps]) | 81 args=platform_args + ['--expected_crash_dumps=%i' % expected_crash_dumps]) |
| 82 env.AddNodeToTestSuite( | 82 env.AddNodeToTestSuite( |
| 83 node, ['chrome_browser_tests'], 'run_breakpad_crash_in_syscall_test', | 83 node, ['chrome_browser_tests'], 'run_breakpad_crash_in_syscall_test', |
| 84 # This test is currently flaky on Win 32 bit on x86, disabling there. | 84 # This test is currently flaky on Win 32 bit on x86, disabling there. |
| 85 # See bug: https://code.google.com/p/chromium/issues/detail?id=254583 | 85 # See bug: https://code.google.com/p/chromium/issues/detail?id=254583 |
| 86 # |
| 87 # These tests are also disabled on linux_aura, pending debugging of why the |
| 88 # GPU process crashes. piman@ thinks it may be a simple flags issue. |
| 89 # See bug: https://code.google.com/p/chromium/issues/detail?id=303342 |
| 86 is_broken=env.PPAPIBrowserTesterIsBroken() or | 90 is_broken=env.PPAPIBrowserTesterIsBroken() or |
| 87 env.Bit('running_on_valgrind') or | 91 env.Bit('running_on_valgrind') or |
| 92 env.Bit('host_linux') or |
| 88 (env.Bit('host_windows') and env.Bit('build_x86_32'))) | 93 (env.Bit('host_windows') and env.Bit('build_x86_32'))) |
| 89 | 94 |
| 90 # Crashes in untrusted code should not produce crash dumps. | 95 # Crashes in untrusted code should not produce crash dumps. |
| 91 node = env.PPAPIBrowserTester( | 96 node = env.PPAPIBrowserTester( |
| 92 'breakpad_untrusted_crash_test.out', | 97 'breakpad_untrusted_crash_test.out', |
| 93 python_tester_script=env.File('crash_dump_tester.py'), | 98 python_tester_script=env.File('crash_dump_tester.py'), |
| 94 url='untrusted_crash.html', | 99 url='untrusted_crash.html', |
| 95 nmf_names=['crash_test'], | 100 nmf_names=['crash_test'], |
| 96 files=[GetNexeByName('crash_test'), | 101 files=[GetNexeByName('crash_test'), |
| 97 env.File('untrusted_crash.html')], | 102 env.File('untrusted_crash.html')], |
| 98 args=platform_args + ['--expected_crash_dumps=0']) | 103 args=platform_args + ['--expected_crash_dumps=0']) |
| 99 env.AddNodeToTestSuite( | 104 env.AddNodeToTestSuite( |
| 100 node, ['chrome_browser_tests'], 'run_breakpad_untrusted_crash_test', | 105 node, ['chrome_browser_tests'], 'run_breakpad_untrusted_crash_test', |
| 106 # This currently reliably fails in linux_aura configurations, probably for |
| 107 # the same reasons that the previous test fails. |
| 108 # |
| 109 # See bug: https://code.google.com/p/chromium/issues/detail?id=303342 |
| 101 is_broken=env.PPAPIBrowserTesterIsBroken() or | 110 is_broken=env.PPAPIBrowserTesterIsBroken() or |
| 102 env.Bit('running_on_valgrind')) | 111 env.Bit('running_on_valgrind') or |
| 112 env.Bit('host_linux')) |
| OLD | NEW |