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

Issue 293993017: Add a breakpad / content_shell integration test (Closed)

Created:
6 years, 7 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 7 months ago
Reviewers:
Robert Sesek, Lei Zhang
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272444

Patch Set 1 #

Total comments: 10

Patch Set 2 : updates #

Total comments: 3

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -0 lines) Patch
A content/shell/tools/breakpad_integration_test.py View 1 2 1 chunk +147 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jochen (gone - plz use gerrit)
6 years, 7 months ago (2014-05-22 13:04:49 UTC) #1
Lei Zhang
https://codereview.chromium.org/293993017/diff/1/content/shell/tools/breakpad_integration_test.py File content/shell/tools/breakpad_integration_test.py (right): https://codereview.chromium.org/293993017/diff/1/content/shell/tools/breakpad_integration_test.py#newcode61 content/shell/tools/breakpad_integration_test.py:61: 'components', 'breakpad', 'tools', 'generate_breakpad_symbols.py') this should be relative to ...
6 years, 7 months ago (2014-05-23 03:13:53 UTC) #2
Lei Zhang
https://codereview.chromium.org/293993017/diff/1/content/shell/tools/breakpad_integration_test.py File content/shell/tools/breakpad_integration_test.py (right): https://codereview.chromium.org/293993017/diff/1/content/shell/tools/breakpad_integration_test.py#newcode78 content/shell/tools/breakpad_integration_test.py:78: '--enable-crash-reporter', Oh, please use --enable-crash-reporter-for-testing and not --enable-crash-reporter. You'll ...
6 years, 7 months ago (2014-05-23 05:22:50 UTC) #3
Lei Zhang
On 2014/05/23 05:22:50, Lei Zhang wrote: > https://codereview.chromium.org/293993017/diff/1/content/shell/tools/breakpad_integration_test.py > File content/shell/tools/breakpad_integration_test.py (right): > > https://codereview.chromium.org/293993017/diff/1/content/shell/tools/breakpad_integration_test.py#newcode78 ...
6 years, 7 months ago (2014-05-23 07:19:10 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/293993017/diff/1/content/shell/tools/breakpad_integration_test.py File content/shell/tools/breakpad_integration_test.py (right): https://codereview.chromium.org/293993017/diff/1/content/shell/tools/breakpad_integration_test.py#newcode61 content/shell/tools/breakpad_integration_test.py:61: 'components', 'breakpad', 'tools', 'generate_breakpad_symbols.py') On 2014/05/23 03:13:53, Lei Zhang ...
6 years, 7 months ago (2014-05-23 07:22:21 UTC) #5
Lei Zhang
lgtm https://codereview.chromium.org/293993017/diff/10001/content/shell/tools/breakpad_integration_test.py File content/shell/tools/breakpad_integration_test.py (right): https://codereview.chromium.org/293993017/diff/10001/content/shell/tools/breakpad_integration_test.py#newcode99 content/shell/tools/breakpad_integration_test.py:99: 'components', 'breakpad', 'tools', 'dmp2minidump.py') maybe figure out the ...
6 years, 7 months ago (2014-05-23 07:32:14 UTC) #6
jochen (gone - plz use gerrit)
6 years, 7 months ago (2014-05-23 08:02:37 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r272444 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698