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

Issue 2055013: Use -DNDEBUG in non-debug builds to suppress debug warnings. Add gmock. (Closed)

Created:
10 years, 7 months ago by petkov
Modified:
9 years, 7 months ago
Reviewers:
kmixter1, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, tedbo, rtc, awong, adlr, Chris Masone
Base URL:
ssh://git@chromiumos-git/chromiumos-overlay.git
Visibility:
Public.

Description

Use -DNDEBUG in non-debug builds to suppress debug warnings. Add gmock.

Patch Set 1 #

Patch Set 2 : Make gmock/gtest RDEPENDS -- because they really are. #

Patch Set 3 : Make gtest/gprod unconditional DEPENDs because of gtest/test_prod.h. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M chromeos-base/metrics/metrics-0.0.1.ebuild View 1 2 3 chunks +9 lines, -5 lines 0 comments Download
A + chromeos-base/metrics/metrics-0.0.1-r7.ebuild View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
petkov
Related CL: http://codereview.chromium.org/2049007
10 years, 7 months ago (2010-05-11 19:56:55 UTC) #1
kmixter1
Why aren't gmock and gtest RDEPENDs? On Tue, May 11, 2010 at 12:56 PM, <petkov@chromium.org> ...
10 years, 7 months ago (2010-05-12 03:05:25 UTC) #2
petkov
On Tue, May 11, 2010 at 8:05 PM, Ken Mixter <kmixter@chromium.org> wrote: > Why aren't ...
10 years, 7 months ago (2010-05-12 04:26:42 UTC) #3
petkov
On 2010/05/12 03:05:25, kmixter1 wrote: > Why aren't gmock and gtest RDEPENDs? I made them ...
10 years, 7 months ago (2010-05-12 14:37:07 UTC) #4
petkov
PTAL. Back to unconditional DEPENDs for gmock/gtest because of gtest/gtest_prod.h. Theoretically they also need to ...
10 years, 7 months ago (2010-05-12 17:33:45 UTC) #5
sosa
10 years, 7 months ago (2010-05-12 18:09:47 UTC) #6
LGTM.  Agreed unittests are broken right now and we don't have a clear
methodology for it.  I've filed an issue so that we can track addressing it.

http://code.google.com/p/chromium-os/issues/detail?id=3229

Powered by Google App Engine
This is Rietveld 408576698