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

Issue 419933002: Make Mojo's LoggingTest.LogIf resilient to MSVC's unreachable code warning (Closed)

Created:
6 years, 5 months ago by hans
Modified:
6 years, 5 months ago
Reviewers:
viettrungluu, zhaoqin1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Make Mojo's LoggingTest.LogIf resilient to MSVC's unreachable code warning The test would fail to compile (warning treated as error) in certain build configurations (GYP_DEFINES=component=shared_library build_for_tool=drmemory, with exceptions disabled). Instead of having NotCalled() call abort(), which doesn't return, just use a variable to check that the function doesn't get called. BUG=397465 R=viettrungluu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285674

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -10 lines) Patch
M mojo/public/cpp/environment/tests/logging_unittest.cc View 5 chunks +17 lines, -10 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
hans
Please take a look.
6 years, 5 months ago (2014-07-25 18:43:35 UTC) #1
viettrungluu
LGTM, thanks.
6 years, 5 months ago (2014-07-25 19:43:00 UTC) #2
hans
The CQ bit was checked by hans@chromium.org
6 years, 5 months ago (2014-07-25 19:44:02 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hans@chromium.org/419933002/1
6 years, 5 months ago (2014-07-25 19:46:07 UTC) #4
hans
6 years, 5 months ago (2014-07-25 20:56:14 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 manually as r285674 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698