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

Issue 1242008: Implement more sanity tests for Memcheck/Valgrind (Closed)

Created:
10 years, 9 months ago by Timur Iskhodzhanov
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., Timur Iskhodzhanov, stuartmorgan, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Implement more sanity tests for Memcheck/Valgrind Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42751

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -5 lines) Patch
M base/tools_sanity_unittest.cc View 1 2 3 4 5 6 3 chunks +67 lines, -1 line 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 2 3 1 chunk +79 lines, -1 line 0 comments Download
M tools/valgrind/memcheck_analyze.py View 1 2 3 3 chunks +24 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Timur Iskhodzhanov
10 years, 9 months ago (2010-03-25 15:13:59 UTC) #1
Alexander Potapenko
http://codereview.chromium.org/1242008/diff/4001/5003 File base/tools_sanity_unittest.cc (right): http://codereview.chromium.org/1242008/diff/4001/5003#newcode70 base/tools_sanity_unittest.cc:70: delete [] foo; That's "delete[]"
10 years, 9 months ago (2010-03-25 15:19:50 UTC) #2
Timur Iskhodzhanov
I'll disregard this (discussed offline) On 2010/03/25 15:19:50, Alexander Potapenko wrote: > http://codereview.chromium.org/1242008/diff/4001/5003 > File ...
10 years, 9 months ago (2010-03-25 15:24:26 UTC) #3
Timur Iskhodzhanov
Hi Lei, Stuart, I'd like you to review this CL. It adds more positive Memcheck ...
10 years, 9 months ago (2010-03-25 15:26:44 UTC) #4
Lei Zhang
LGTM with nits. http://codereview.chromium.org/1242008/diff/10001/11003 File base/tools_sanity_unittest.cc (right): http://codereview.chromium.org/1242008/diff/10001/11003#newcode68 base/tools_sanity_unittest.cc:68: char *foo = new char[10]; style ...
10 years, 9 months ago (2010-03-25 17:50:24 UTC) #5
Timur Iskhodzhanov
I'll see if it passes trybots and commit if it's OK http://codereview.chromium.org/1242008/diff/10001/11003 File base/tools_sanity_unittest.cc (right): ...
10 years, 9 months ago (2010-03-26 09:57:20 UTC) #6
Alexander Potapenko
http://codereview.chromium.org/1242008/diff/10001/11003 File base/tools_sanity_unittest.cc (right): http://codereview.chromium.org/1242008/diff/10001/11003#newcode68 base/tools_sanity_unittest.cc:68: char *foo = new char[10]; I second Timur's point. ...
10 years, 9 months ago (2010-03-26 10:08:27 UTC) #7
Timur Iskhodzhanov
http://codereview.chromium.org/1242008/diff/10001/11003 File base/tools_sanity_unittest.cc (right): http://codereview.chromium.org/1242008/diff/10001/11003#newcode68 base/tools_sanity_unittest.cc:68: char *foo = new char[10]; On 2010/03/26 10:08:27, Alexander ...
10 years, 9 months ago (2010-03-26 10:55:18 UTC) #8
Lei Zhang
10 years, 9 months ago (2010-03-26 22:34:31 UTC) #9
On 2010/03/26 09:57:20, Timur Iskhodzhanov wrote:
> According to
>
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Pointer_and_Re...,
> both variants are fine.
> 
> also, "type *name" has already being used a few times in this file.

http://dev.chromium.org/developers/coding-style superseds the Google style
guide, and it specifically says:

"Foo* bar and const Foo& bar, not Foo *bar and const Foo &bar."

It's already checked in, oh well. At least the file is internally consistent
now.

Powered by Google App Engine
This is Rietveld 408576698