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 | |
90 is_broken=env.PPAPIBrowserTesterIsBroken() or | 86 is_broken=env.PPAPIBrowserTesterIsBroken() or |
91 env.Bit('running_on_valgrind') or | 87 env.Bit('running_on_valgrind') or |
92 env.Bit('host_linux') or | |
93 (env.Bit('host_windows') and env.Bit('build_x86_32'))) | 88 (env.Bit('host_windows') and env.Bit('build_x86_32'))) |
94 | 89 |
95 # Crashes in untrusted code should not produce crash dumps. | 90 # Crashes in untrusted code should not produce crash dumps. |
96 node = env.PPAPIBrowserTester( | 91 node = env.PPAPIBrowserTester( |
97 'breakpad_untrusted_crash_test.out', | 92 'breakpad_untrusted_crash_test.out', |
98 python_tester_script=env.File('crash_dump_tester.py'), | 93 python_tester_script=env.File('crash_dump_tester.py'), |
99 url='untrusted_crash.html', | 94 url='untrusted_crash.html', |
100 nmf_names=['crash_test'], | 95 nmf_names=['crash_test'], |
101 files=[GetNexeByName('crash_test'), | 96 files=[GetNexeByName('crash_test'), |
102 env.File('untrusted_crash.html')], | 97 env.File('untrusted_crash.html')], |
103 args=platform_args + ['--expected_crash_dumps=0']) | 98 args=platform_args + ['--expected_crash_dumps=0']) |
104 env.AddNodeToTestSuite( | 99 env.AddNodeToTestSuite( |
105 node, ['chrome_browser_tests'], 'run_breakpad_untrusted_crash_test', | 100 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 | |
110 is_broken=env.PPAPIBrowserTesterIsBroken() or | 101 is_broken=env.PPAPIBrowserTesterIsBroken() or |
111 env.Bit('running_on_valgrind') or | 102 env.Bit('running_on_valgrind')) |
112 env.Bit('host_linux')) | |
OLD | NEW |