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

Issue 815023003: skia: Add 'skia_unittests' test suite for this directory. (Closed)

Created:
6 years ago by tfarina
Modified:
5 years, 11 months ago
CC:
chromium-reviews, bsalomon, reed1, robertphillips, sky, Derek Bruening, Alexander Potapenko, Timur Iskhodzhanov, cjhopman, navabi1, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

skia: Add 'skia_unittests' test suite for this directory. This should be a lightweight test suite that should allow a dev changing something in skia/ext to test it much more quickly than having to build all 'unit_tests' target just to run the tests from skia/ext. BUG=444058 TEST=skia_unittests links and runs fine. R=danakj@chromium.org,thakis@chromium.org Committed: https://crrev.com/c87c3d2d949f9ba4f17627dc023b303c75b7635f Cr-Commit-Position: refs/heads/master@{#310310}

Patch Set 1 #

Patch Set 2 : add gn target #

Patch Set 3 : add to testing/buildbot #

Patch Set 4 : remove from chrome_tests_unit.gypi #

Patch Set 5 : add it to all.gyp - so it gets generated #

Patch Set 6 : skia_tests.gyp:skia_unittests #

Patch Set 7 : fix gn build #

Total comments: 9

Patch Set 8 : memory stuff #

Patch Set 9 : skia_unittests_apk target #

Patch Set 10 : skia_unittests_apk - GN version #

Total comments: 6

Patch Set 11 : sort #

Total comments: 2

Patch Set 12 : skia alias #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -44 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 9 chunks +9 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 3 chunks +0 lines, -17 lines 0 comments Download
M skia/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +46 lines, -0 lines 0 comments Download
M skia/ext/platform_canvas_unittest.cc View 4 chunks +17 lines, -12 lines 0 comments Download
A skia/skia_tests.gyp View 1 2 3 4 5 6 7 8 1 chunk +65 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.chromiumos.json View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -1 line 0 comments Download
M testing/buildbot/chromium.fyi.json View 1 2 3 4 5 6 7 8 9 10 5 chunks +5 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.linux.json View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M testing/buildbot/chromium.mac.json View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M testing/buildbot/chromium.memory.json View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.memory.fyi.json View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.webkit.json View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M testing/buildbot/chromium.win.json View 1 2 5 chunks +10 lines, -5 lines 0 comments Download
M testing/buildbot/chromium_memory_trybot.json View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M testing/buildbot/chromium_trybot.json View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/valgrind/chrome_tests.py View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (6 generated)
tfarina
Hey Dana, PTAL! Nico, could you rubber stamp this? Sorry, I had discussed doing this ...
6 years ago (2014-12-19 00:28:19 UTC) #1
danakj
Should remove from unit_tests too, right?
6 years ago (2014-12-19 01:36:38 UTC) #2
tfarina
On 2014/12/19 01:36:38, danakj wrote: > Should remove from unit_tests too, right? Not now, I ...
6 years ago (2014-12-19 02:00:31 UTC) #3
danakj
On 2014/12/19 02:00:31, tfarina wrote: > On 2014/12/19 01:36:38, danakj wrote: > > Should remove ...
6 years ago (2014-12-19 16:27:16 UTC) #4
tfarina
On 2014/12/19 16:27:16, danakj wrote: > On 2014/12/19 02:00:31, tfarina wrote: > > On 2014/12/19 ...
6 years ago (2014-12-19 16:45:18 UTC) #5
tfarina
Dana, could you please take another look? It is up and running on the bots! ...
6 years ago (2014-12-20 00:49:05 UTC) #6
danakj
https://codereview.chromium.org/815023003/diff/120001/build/all.gyp File build/all.gyp (right): https://codereview.chromium.org/815023003/diff/120001/build/all.gyp#newcode866 build/all.gyp:866: '../chrome/chrome.gyp:unit_tests_apk', is there no skia_unittests_apk? http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/39682 i don't see ...
5 years, 12 months ago (2014-12-23 17:40:52 UTC) #7
tfarina
Lei, could you review the memory changes? https://codereview.chromium.org/815023003/diff/120001/build/all.gyp File build/all.gyp (right): https://codereview.chromium.org/815023003/diff/120001/build/all.gyp#newcode866 build/all.gyp:866: '../chrome/chrome.gyp:unit_tests_apk', On ...
5 years, 12 months ago (2014-12-24 21:23:08 UTC) #9
Alexander Potapenko
Memory changes LGTM
5 years, 12 months ago (2014-12-25 08:27:59 UTC) #11
danakj
How come skia_unittests isn't running here? http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/40603 But unit_tests is.
5 years, 11 months ago (2014-12-30 16:05:27 UTC) #12
tfarina
I don't know. I didn't see anything related to android in testing/buildbot. So it might ...
5 years, 11 months ago (2014-12-30 16:12:40 UTC) #13
Sami
On 2014/12/30 16:12:40, tfarina wrote: > I don't know. I didn't see anything related to ...
5 years, 11 months ago (2014-12-30 17:03:04 UTC) #14
tfarina
On 2014/12/30 17:03:04, Sami wrote: > On 2014/12/30 16:12:40, tfarina wrote: > > I don't ...
5 years, 11 months ago (2014-12-30 23:46:54 UTC) #15
tfarina
On 2014/12/30 17:03:04, Sami wrote: > On 2014/12/30 16:12:40, tfarina wrote: > > I don't ...
5 years, 11 months ago (2014-12-30 23:47:24 UTC) #16
tfarina
Dana, ping? Does this lgty now?
5 years, 11 months ago (2015-01-05 19:05:43 UTC) #17
danakj
LGTM you'll need some more owners tho.
5 years, 11 months ago (2015-01-05 19:28:15 UTC) #18
tfarina
Nico, could you approve build/ and skia/ changes? Scott, could you approve chrome/ and testing/buildbot/ ...
5 years, 11 months ago (2015-01-05 19:52:37 UTC) #20
Nico
What's the motivation for doing this? This'll require lots of bots surgery for very little ...
5 years, 11 months ago (2015-01-05 20:33:52 UTC) #21
tfarina
On 2015/01/05 20:33:52, Nico wrote: > What's the motivation for doing this? I have a ...
5 years, 11 months ago (2015-01-05 20:56:48 UTC) #22
Nico
I'm almost certain that there are bots that don't use these json files. (For example, ...
5 years, 11 months ago (2015-01-05 22:24:20 UTC) #23
tfarina
https://codereview.chromium.org/815023003/diff/180001/testing/buildbot/chromium.chromiumos.json File testing/buildbot/chromium.chromiumos.json (right): https://codereview.chromium.org/815023003/diff/180001/testing/buildbot/chromium.chromiumos.json#newcode167 testing/buildbot/chromium.chromiumos.json:167: "skia_unittests" On 2015/01/05 22:24:20, Nico wrote: > This list ...
5 years, 11 months ago (2015-01-06 00:54:43 UTC) #24
tfarina
Nico, does this lgty now?
5 years, 11 months ago (2015-01-06 19:05:07 UTC) #25
Nico
You didn't reply to """I'm almost certain that there are bots that don't use these ...
5 years, 11 months ago (2015-01-06 19:27:50 UTC) #26
tfarina
On Tue, Jan 6, 2015 at 5:27 PM, Nico Weber <thakis@chromium.org> wrote: > You didn't ...
5 years, 11 months ago (2015-01-06 20:13:14 UTC) #27
danakj
On Tue, Jan 6, 2015 at 12:13 PM, Thiago Farina <tfarina@chromium.org> wrote: > > > ...
5 years, 11 months ago (2015-01-06 20:17:27 UTC) #28
Nico
I'm not arguing that this doesn't have a benefit, I'm just not sure if it's ...
5 years, 11 months ago (2015-01-06 20:32:23 UTC) #29
tfarina
https://codereview.chromium.org/815023003/diff/200001/tools/valgrind/chrome_tests.py File tools/valgrind/chrome_tests.py (right): https://codereview.chromium.org/815023003/diff/200001/tools/valgrind/chrome_tests.py#newcode712 tools/valgrind/chrome_tests.py:712: "skia_unittests": TestSkia, On 2015/01/06 20:32:23, Nico wrote: > for ...
5 years, 11 months ago (2015-01-06 23:25:39 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815023003/220001
5 years, 11 months ago (2015-01-06 23:27:20 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/33507)
5 years, 11 months ago (2015-01-06 23:35:29 UTC) #34
tfarina
On 2015/01/06 23:35:29, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 11 months ago (2015-01-06 23:38:46 UTC) #35
sky
LGTM
5 years, 11 months ago (2015-01-07 16:04:35 UTC) #36
tfarina
On 2015/01/07 16:04:35, sky wrote: > LGTM Thanks Scott. Pushing to CQ!
5 years, 11 months ago (2015-01-07 16:12:39 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815023003/220001
5 years, 11 months ago (2015-01-07 16:13:46 UTC) #39
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 11 months ago (2015-01-07 17:23:21 UTC) #40
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/c87c3d2d949f9ba4f17627dc023b303c75b7635f Cr-Commit-Position: refs/heads/master@{#310310}
5 years, 11 months ago (2015-01-07 17:24:32 UTC) #41
Marijn Kruisselbrink
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/816803003/ by mek@chromium.org. ...
5 years, 11 months ago (2015-01-07 17:50:27 UTC) #42
tfarina
On Wed, Jan 7, 2015 at 3:50 PM, <mek@chromium.org> wrote: > A revert of this ...
5 years, 11 months ago (2015-01-07 18:07:55 UTC) #43
Nico
Short check after this has been in the tree for 1 week: skia_unittests still doesn't ...
5 years, 11 months ago (2015-01-15 18:41:06 UTC) #44
sky
+1 On Thu, Jan 15, 2015 at 10:41 AM, <thakis@chromium.org> wrote: > Short check after ...
5 years, 11 months ago (2015-01-15 19:23:55 UTC) #45
tfarina
5 years, 11 months ago (2015-01-15 21:22:53 UTC) #46
Message was sent while issue was closed.
On 2015/01/15 18:41:06, Nico wrote:
> Short check after this has been in the tree for 1 week: skia_unittests still
> doesn't run on most bots (e.g.
>
http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20MSan%20Tests...),
> and it caused a bunch of trouble already. I continue to think that the
benefits
> from this change aren't worth the cost that this change has.

I'm on it, I will get to finish it. The url you linked above has skia_unittests
running on it btw!

Powered by Google App Engine
This is Rietveld 408576698