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

Issue 922863002: Delete some tests from allocator_unittests. (Closed)

Created:
5 years, 10 months ago by Nico
Modified:
5 years, 10 months ago
CC:
chromium-reviews, wfh+watch_chromium.org, erikwright+watch_chromium.org, Dai Mikurube (NOT FULLTIME)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete some tests from allocator_unittests. The atomics and "die on OOM" bits are tested elsewhere. The motivation is that this is the only file in all of Chromium that uses `try` / `catch`. Originally I wanted to remove just that bit, but when I tried to compile the file I noticed that the target doesn't exist in most configs, and the bots don't run the test, so I think the whole thing can go. Note that no bots run this test. It's only compiled on Windows, and only in static library builds, and only when building `all` (which means no devs build it either). http://crbug.com/458309 tracks moving the tests that remain in this file (which are useful) into base_unittests. BUG=82385 Committed: https://crrev.com/a249805f376e40174998be288ed64c6463d69000 Cr-Commit-Position: refs/heads/master@{#316084}

Patch Set 1 #

Patch Set 2 : wfh #

Patch Set 3 : build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -292 lines) Patch
D base/allocator/allocator_unittest.cc View 1 2 8 chunks +2 lines, -292 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
Nico
There is no try.
5 years, 10 months ago (2015-02-12 21:54:55 UTC) #2
cpu_(ooo_6.6-7.5)
I am for it but I believe wfh might have an opinion.
5 years, 10 months ago (2015-02-12 22:02:19 UTC) #4
Will Harris
On 2015/02/12 21:54:55, Nico wrote: > There is no try. Can we not add these ...
5 years, 10 months ago (2015-02-12 22:02:33 UTC) #5
Nico
On 2015/02/12 22:02:33, Will Harris wrote: > On 2015/02/12 21:54:55, Nico wrote: > > There ...
5 years, 10 months ago (2015-02-12 22:12:54 UTC) #6
Nico
(rietveld still claims 'D' but that's a lie. Look at the side-by-side diff.)
5 years, 10 months ago (2015-02-12 22:13:14 UTC) #7
Will Harris
sure if cpu is okay with leaving this for a while, I can move all ...
5 years, 10 months ago (2015-02-12 22:24:49 UTC) #8
Will Harris
On 2015/02/12 22:24:49, Will Harris wrote: > sure if cpu is okay with leaving this ...
5 years, 10 months ago (2015-02-12 22:27:56 UTC) #9
Nico
On 2015/02/12 22:27:56, Will Harris wrote: > On 2015/02/12 22:24:49, Will Harris wrote: > > ...
5 years, 10 months ago (2015-02-12 22:34:27 UTC) #10
Will Harris
ps3 lgtm
5 years, 10 months ago (2015-02-12 22:37:05 UTC) #11
Nico
Thanks!
5 years, 10 months ago (2015-02-12 22:42:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/922863002/40001
5 years, 10 months ago (2015-02-12 22:43:13 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-12 23:34:25 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-12 23:34:59 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a249805f376e40174998be288ed64c6463d69000
Cr-Commit-Position: refs/heads/master@{#316084}

Powered by Google App Engine
This is Rietveld 408576698