Add a breakpad / content_shell integration test
The test is supposed to ensure that the breakpad component is correctly hooked up to content_shell, and that the surrounding tools can actually convert a crash into a symbolized stack dump. This version is currently Linux-only, other platforms will be added. The test is based on http://www.chromium.org/developers/testing/webkit-layout-tests/using-breakpad-with-content-shell This would have caught e.g. a call to base::GetLinuxDistro() being added on the UI thread, or dump_syms not supporting debug fission yet. The test needs to be executed like this: $ content/shell/tools/breakpad_integration_test.py \ --build-dir=out/Debug --binary=out/Debug/content_shell # Generate symbols. # Run content_shell and make it crash. # Retrieve crash dump. # Symbolize crash dump. PASS: Breakpad integration test ran successfully. BUG=372928 R=thestig@chromium.org, rsesek@chromium.org Review URL: https://codereview.chromium.org/293993017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272444 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment