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

Issue 1885653003: Attempt to fix ash tests on Chrome OS valgrind (Closed)

Created:
4 years, 8 months ago by ananta
Modified:
4 years, 8 months ago
Reviewers:
Lei Zhang, sky
CC:
chromium-reviews, glider+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

Attempt to fix ash tests on Chrome OS valgrind Revert "Valgrind: Address redness on the memory.fyi bots." This reverts commit abc448256e3cdf70fa47cb921536d3e39d5055c0. Fix for these tests is to reset the cursor state before each Ash test. BUG=602487 Committed: https://crrev.com/f2b280f227d364e58576c282958837289aa87b52 Cr-Commit-Position: refs/heads/master@{#387108}

Patch Set 1 #

Patch Set 2 : Restoring cursor manager changes to tip #

Patch Set 3 : Reset the cursor state at the start of each ASH unittest #

Patch Set 4 : Reset the cursor state in AshTestHelper::SetUp #

Total comments: 2

Patch Set 5 : Rename ResetState to ResetCursorVisibilityStateForTest #

Patch Set 6 : Don't revert all of commit abc44825 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M ash/test/ash_test_helper.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M tools/valgrind/gtest_exclude/ash_unittests.gtest-memcheck.txt View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/wm/core/cursor_manager.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/wm/core/cursor_manager.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
ananta
4 years, 8 months ago (2016-04-13 01:22:55 UTC) #2
sky
LGTM https://codereview.chromium.org/1885653003/diff/60001/ui/wm/core/cursor_manager.h File ui/wm/core/cursor_manager.h (right): https://codereview.chromium.org/1885653003/diff/60001/ui/wm/core/cursor_manager.h#newcode46 ui/wm/core/cursor_manager.h:46: static void ResetState(); ResetCursorVisibilityStateForTest.
4 years, 8 months ago (2016-04-13 16:32:10 UTC) #4
ananta
https://codereview.chromium.org/1885653003/diff/60001/ui/wm/core/cursor_manager.h File ui/wm/core/cursor_manager.h (right): https://codereview.chromium.org/1885653003/diff/60001/ui/wm/core/cursor_manager.h#newcode46 ui/wm/core/cursor_manager.h:46: static void ResetState(); On 2016/04/13 16:32:10, sky wrote: > ...
4 years, 8 months ago (2016-04-13 19:41:14 UTC) #5
ananta
+thestig for tools\valgrind owners
4 years, 8 months ago (2016-04-13 19:42:03 UTC) #7
Lei Zhang
On 2016/04/13 19:42:03, ananta wrote: > +thestig for tools\valgrind owners You don't want to revert ...
4 years, 8 months ago (2016-04-13 20:18:50 UTC) #8
ananta
On 2016/04/13 20:18:50, Lei Zhang wrote: > On 2016/04/13 19:42:03, ananta wrote: > > +thestig ...
4 years, 8 months ago (2016-04-13 20:46:24 UTC) #9
Lei Zhang
lgtm
4 years, 8 months ago (2016-04-13 20:49:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885653003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885653003/100001
4 years, 8 months ago (2016-04-13 20:52:10 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-13 21:49:48 UTC) #15
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/f2b280f227d364e58576c282958837289aa87b52 Cr-Commit-Position: refs/heads/master@{#387108}
4 years, 8 months ago (2016-04-13 21:50:43 UTC) #17
mfomitchev
Drive-by: What about tools/valgrind/gtest_exclude/unit_tests.gtest_linux.txt and tools/valgrind/memcheck/suppressions.txt?
4 years, 8 months ago (2016-04-13 22:00:32 UTC) #18
Lei Zhang
4 years, 8 months ago (2016-04-13 22:15:31 UTC) #19
Message was sent while issue was closed.
On 2016/04/13 22:00:32, mfomitchev wrote:
> Drive-by: 
> What about tools/valgrind/gtest_exclude/unit_tests.gtest_linux.txt and
> tools/valgrind/memcheck/suppressions.txt?

What about them?

Powered by Google App Engine
This is Rietveld 408576698