Chromium Code Reviews| Index: ppapi/native_client/tests/breakpad_crash_test/nacl.scons |
| diff --git a/ppapi/native_client/tests/breakpad_crash_test/nacl.scons b/ppapi/native_client/tests/breakpad_crash_test/nacl.scons |
| index 1d1765da25bd3b148755fb5932c821215abd2d00..0fa6b9d70818ce898e96e44bf3d88a7b198bedbd 100644 |
| --- a/ppapi/native_client/tests/breakpad_crash_test/nacl.scons |
| +++ b/ppapi/native_client/tests/breakpad_crash_test/nacl.scons |
| @@ -21,6 +21,28 @@ def GetNexeByName(name): |
| return env.File('${STAGING_DIR}/%s${PROGSUFFIX}' % |
| env.ProgramNameForNmf(name)) |
| + |
| +# This tests that crashes in Chromium's browser process successfully |
| +# produce crash dumps via Breakpad. |
| +# TODO(mseaborn): Enable this for Linux, too, when Breakpad is |
| +# compiled into Chromium by default. |
| +# See http://code.google.com/p/chromium/issues/detail?id=105778 |
| +if env.Bit('host_windows') or env.Bit('host_mac'): |
| + node = env.PPAPIBrowserTester( |
| + 'breakpad_browser_process_crash_test.out', |
| + python_tester_script=env.File('crash_dump_tester.py'), |
| + browser_flags=['--crash-test'], |
|
Nick Bray (chromium)
2013/01/09 01:22:02
Add a comment.
Mark Seaborn
2013/01/09 03:24:13
Done.
|
| + url='browser_process_crash.html', |
| + nmf_names=[], |
| + files=[env.File('browser_process_crash.html')], |
| + args=platform_args + ['--expect_browser_process_crash', |
| + '--expected_crash_dumps=1', |
| + '--expected_process_type=browser']) |
| + env.AddNodeToTestSuite( |
| + node, ['chrome_browser_tests'], 'run_breakpad_browser_process_crash_test', |
| + is_broken=env.PPAPIBrowserTesterIsBroken() or |
| + env.Bit('running_on_valgrind')) |
| + |
| # This crash in trusted code should produce a crash dump. |
| crash_test_url = 'trusted_crash_in_startup.html' |
| if env.Bit('pnacl_generate_pexe'): |