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

Issue 971593002: Web MIDI: speculative valgrind fix for a unit test on mac (Closed)

Created:
5 years, 9 months ago by Takashi Toyoshima
Modified:
5 years, 9 months ago
Reviewers:
Derek Bruening, yhirano
CC:
chromium-reviews, glider+watch_chromium.org, timurrrr+watch_chromium.org, bruening+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web MIDI: speculative valgrind fix for a unit test on mac MidiManagerMacTest.MidiNotification was marked in valgrind/gtest_exclude/media_unittests.gtest_mac.txt. Remove the entry with some speculative fixes. Since the problem can not be reproduced with the latest valgrind on Yosemite. If this patch is not enough, let's suppress it again. BUG=462483 TEST=media_unittests --gtest_filter=MidiManagerMacTest.MidiNotification TEST=valgrind media_unittests --gtest_filter=MidiManagerMacTest.MidiNotification # does not hangup on yosemite Committed: https://crrev.com/efd39d0198de405210b6d7d5aa38aafd0bfa462c Cr-Commit-Position: refs/heads/master@{#318860}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : speculative fix #

Total comments: 5

Patch Set 4 : do not use gtest macros outside test thread #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -8 lines) Patch
M media/midi/midi_manager_mac_unittest.cc View 1 2 3 4 chunks +35 lines, -5 lines 0 comments Download
M tools/valgrind/gtest_exclude/media_unittests.gtest_mac.txt View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
Takashi Toyoshima
yhirano: can you take a look? bruening: fyi (memory sheriff who disable this test) I ...
5 years, 9 months ago (2015-03-01 18:10:13 UTC) #3
yhirano
https://codereview.chromium.org/971593002/diff/40001/media/midi/midi_manager_mac_unittest.cc File media/midi/midi_manager_mac_unittest.cc (right): https://codereview.chromium.org/971593002/diff/40001/media/midi/midi_manager_mac_unittest.cc#newcode25 media/midi/midi_manager_mac_unittest.cc:25: base::AutoLock lock(lock_); It's hard to imagine that anyone can ...
5 years, 9 months ago (2015-03-02 04:58:37 UTC) #4
Takashi Toyoshima
https://codereview.chromium.org/971593002/diff/40001/media/midi/midi_manager_mac_unittest.cc File media/midi/midi_manager_mac_unittest.cc (right): https://codereview.chromium.org/971593002/diff/40001/media/midi/midi_manager_mac_unittest.cc#newcode25 media/midi/midi_manager_mac_unittest.cc:25: base::AutoLock lock(lock_); I placed it not to avoid from ...
5 years, 9 months ago (2015-03-02 10:52:18 UTC) #5
Takashi Toyoshima
https://codereview.chromium.org/971593002/diff/40001/media/midi/midi_manager_mac_unittest.cc File media/midi/midi_manager_mac_unittest.cc (right): https://codereview.chromium.org/971593002/diff/40001/media/midi/midi_manager_mac_unittest.cc#newcode41 media/midi/midi_manager_mac_unittest.cc:41: EXPECT_TRUE(wait_for_port_); Oh, I misunderstood your comment. I'll check documents ...
5 years, 9 months ago (2015-03-02 11:06:21 UTC) #6
Takashi Toyoshima
I could not find documentation that explicitly says we can use gtest macros in other ...
5 years, 9 months ago (2015-03-02 12:11:22 UTC) #7
Takashi Toyoshima
I'll try to run patch set 4 on mavericks tomorrow.
5 years, 9 months ago (2015-03-02 16:50:55 UTC) #8
Takashi Toyoshima
% ./third_party/valgrind/mac_10.7/bin/valgrind valgrind: Unknown/uninstalled VG_PLATFORM 'amd64-darwin' And, crbug.com/441425 says valgrind for mac supports only Snow ...
5 years, 9 months ago (2015-03-03 07:30:45 UTC) #9
yhirano
lgtm
5 years, 9 months ago (2015-03-03 08:41:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/971593002/60001
5 years, 9 months ago (2015-03-03 09:53:59 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-03 10:31:03 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-03 10:31:33 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/efd39d0198de405210b6d7d5aa38aafd0bfa462c
Cr-Commit-Position: refs/heads/master@{#318860}

Powered by Google App Engine
This is Rietveld 408576698