Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(500)

Issue 342001: Skip ElfCoreDumpTest.ValidCoreFile test if no core dump is generated. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by Ben Chan
Modified:
12 years, 8 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Skip ElfCoreDumpTest.ValidCoreFile test if no core dump is generated.

CrashGenerator::CreateChildCrash() may have some flakiness. This patch
changes ElfCoreDumpTest to temporarily skip the ValidCoreFile test if
no core dump is generated by CrashGenerator::CreateChildCrash(), but
print out the error message to help debug the flakiness.

BUG=chromium-os:24982
TEST=Tested the following:
1. Build on 32-bit and 64-bit Linux with gcc 4.6.
2. All unit tests pass.

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/common/linux/elf_core_dump_unittest.cc View 1 1 chunk +10 lines, -3 lines 0 comments Download
M src/common/linux/tests/crash_generator.cc View 6 chunks +33 lines, -8 lines 0 comments Download

Messages

Total messages: 5
Ben Chan
12 years, 8 months ago #1
Lei Zhang (chromium)
http://breakpad.appspot.com/342001/diff/1/2 File src/common/linux/elf_core_dump_unittest.cc (right): http://breakpad.appspot.com/342001/diff/1/2#newcode185 Line 185: #if defined(__i386) || defined(__x86_64) Are these changes suppose ...
12 years, 8 months ago #2
Ben Chan
http://breakpad.appspot.com/342001/diff/1/2 File src/common/linux/elf_core_dump_unittest.cc (right): http://breakpad.appspot.com/342001/diff/1/2#newcode185 Line 185: #if defined(__i386) || defined(__x86_64) On 2012/01/11 22:13:17, thestig ...
12 years, 8 months ago #3
Ben Chan
http://breakpad.appspot.com/342001/diff/1/2 File src/common/linux/elf_core_dump_unittest.cc (right): http://breakpad.appspot.com/342001/diff/1/2#newcode185 Line 185: #if defined(__i386) || defined(__x86_64) On 2012/01/11 22:16:04, Ben ...
12 years, 8 months ago #4
Lei Zhang (chromium)
12 years, 8 months ago #5
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted