Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: ppapi/native_client/tests/breakpad_crash_test/nacl.scons

Issue 11827014: Breakpad: Disable browser process crash test for one case on 32-bit Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
7
6 Import('env') 8 Import('env')
7 9
8 if env.Bit('host_windows') or env.Bit('host_mac'): 10 if env.Bit('host_windows') or env.Bit('host_mac'):
9 expected_crash_dumps = 1 11 expected_crash_dumps = 1
10 else: 12 else:
11 # We are also checking that crash dumping does not work 13 # We are also checking that crash dumping does not work
12 # unexpectedly, since that might indicate that Breakpad was enabled 14 # unexpectedly, since that might indicate that Breakpad was enabled
13 # without checking that it works securely. 15 # without checking that it works securely.
14 expected_crash_dumps = 0 16 expected_crash_dumps = 0
15 17
(...skipping 17 matching lines...) Expand all
33 python_tester_script=env.File('crash_dump_tester.py'), 35 python_tester_script=env.File('crash_dump_tester.py'),
34 browser_flags=['--crash-test'], # Tell the browser process to crash. 36 browser_flags=['--crash-test'], # Tell the browser process to crash.
35 url='browser_process_crash.html', 37 url='browser_process_crash.html',
36 nmf_names=[], 38 nmf_names=[],
37 files=[env.File('browser_process_crash.html')], 39 files=[env.File('browser_process_crash.html')],
38 args=platform_args + ['--expect_browser_process_crash', 40 args=platform_args + ['--expect_browser_process_crash',
39 '--expected_crash_dumps=1', 41 '--expected_crash_dumps=1',
40 '--expected_process_type=browser']) 42 '--expected_process_type=browser'])
41 env.AddNodeToTestSuite( 43 env.AddNodeToTestSuite(
42 node, ['chrome_browser_tests'], 'run_breakpad_browser_process_crash_test', 44 node, ['chrome_browser_tests'], 'run_breakpad_browser_process_crash_test',
43 is_broken=env.PPAPIBrowserTesterIsBroken() or 45 # For some strange reason, this test fails on the second run
44 env.Bit('running_on_valgrind')) 46 # (for the SRPC PPAPI proxy) on the Windows XP (32-bit)
47 # buildbots. The failures modes are that the browser process
48 # hangs, or that a .dmp file is produced with no .txt file.
49 # Maybe there is a problem with the command line getting too
50 # long?
51 # TODO(mseaborn): Remove this when the "--enable-srpc-proxy"
52 # option is removed, or investigate and fix.
53 is_broken=(env.PPAPIBrowserTesterIsBroken() or
54 env.Bit('running_on_valgrind') or
55 (env.Bit('host_windows') and
56 env.Bit('build_x86_32') and
57 '--enable-srpc-proxy' in
58 os.environ.get('NACL_BROWSER_FLAGS', ''))))
45 59
46 # This crash in trusted code should produce a crash dump. 60 # This crash in trusted code should produce a crash dump.
47 crash_test_url = 'trusted_crash_in_startup.html' 61 crash_test_url = 'trusted_crash_in_startup.html'
48 if env.Bit('pnacl_generate_pexe'): 62 if env.Bit('pnacl_generate_pexe'):
49 crash_test_url += '?is_pnacl=true' 63 crash_test_url += '?is_pnacl=true'
50 node = env.PPAPIBrowserTester( 64 node = env.PPAPIBrowserTester(
51 'breakpad_trusted_crash_in_startup_test.out', 65 'breakpad_trusted_crash_in_startup_test.out',
52 python_tester_script=env.File('crash_dump_tester.py'), 66 python_tester_script=env.File('crash_dump_tester.py'),
53 url=crash_test_url, 67 url=crash_test_url,
54 nmf_names=['crash_test'], 68 nmf_names=['crash_test'],
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 python_tester_script=env.File('crash_dump_tester.py'), 100 python_tester_script=env.File('crash_dump_tester.py'),
87 url='untrusted_crash.html', 101 url='untrusted_crash.html',
88 nmf_names=['crash_test'], 102 nmf_names=['crash_test'],
89 files=[GetNexeByName('crash_test'), 103 files=[GetNexeByName('crash_test'),
90 env.File('untrusted_crash.html')], 104 env.File('untrusted_crash.html')],
91 args=platform_args + ['--expected_crash_dumps=0']) 105 args=platform_args + ['--expected_crash_dumps=0'])
92 env.AddNodeToTestSuite( 106 env.AddNodeToTestSuite(
93 node, ['chrome_browser_tests'], 'run_breakpad_untrusted_crash_test', 107 node, ['chrome_browser_tests'], 'run_breakpad_untrusted_crash_test',
94 is_broken=env.PPAPIBrowserTesterIsBroken() or 108 is_broken=env.PPAPIBrowserTesterIsBroken() or
95 env.Bit('running_on_valgrind')) 109 env.Bit('running_on_valgrind'))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698