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

Issue 144343004: Add --skip_cpu and --skip_gpu options to tests (Closed)

Created:
6 years, 11 months ago by borenet
Modified:
6 years, 10 months ago
Reviewers:
djsollen, mtklein
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Add --skip_cpu and --skip_gpu options to tests BUG=skia:2074 Committed: http://code.google.com/p/skia/source/detail?r=13223

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Patch Set 3 : Don't pass test around #

Total comments: 2

Patch Set 4 : Make should_run static #

Total comments: 2

Patch Set 5 : Remove isThreadsafe() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -6 lines) Patch
M tests/Test.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M tests/skia_test.cpp View 1 2 3 4 4 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
borenet
There may be a nicer way to do this. Ideally, I'd like to have a ...
6 years, 11 months ago (2014-01-27 21:31:11 UTC) #1
mtklein
https://codereview.chromium.org/144343004/diff/1/tests/Test.h File tests/Test.h (right): https://codereview.chromium.org/144343004/diff/1/tests/Test.h#newcode69 tests/Test.h:69: virtual bool isGPUTest() const { return false; } Can ...
6 years, 11 months ago (2014-01-27 22:35:29 UTC) #2
djsollen
https://codereview.chromium.org/144343004/diff/1/tests/skia_test.cpp File tests/skia_test.cpp (right): https://codereview.chromium.org/144343004/diff/1/tests/skia_test.cpp#newcode38 tests/skia_test.cpp:38: DEFINE_bool(skip_cpu, false, "skip CPU tests."); I'm a fan of ...
6 years, 10 months ago (2014-01-28 14:21:01 UTC) #3
borenet
Uploaded patch set 3. https://codereview.chromium.org/144343004/diff/1/tests/Test.h File tests/Test.h (right): https://codereview.chromium.org/144343004/diff/1/tests/Test.h#newcode69 tests/Test.h:69: virtual bool isGPUTest() const { ...
6 years, 10 months ago (2014-01-28 18:42:09 UTC) #4
djsollen
lgtm with one nit https://codereview.chromium.org/144343004/diff/30001/tests/skia_test.cpp File tests/skia_test.cpp (right): https://codereview.chromium.org/144343004/diff/30001/tests/skia_test.cpp#newcode129 tests/skia_test.cpp:129: bool should_run(const char* testName, bool ...
6 years, 10 months ago (2014-01-28 18:50:22 UTC) #5
borenet
Uploaded patch set 4. For the record, here's what I get when using the new ...
6 years, 10 months ago (2014-01-28 19:03:41 UTC) #6
mtklein
lgtm -v will show each tests each on its own line as it finishes. https://codereview.chromium.org/144343004/diff/50001/tests/Test.h ...
6 years, 10 months ago (2014-01-28 19:46:57 UTC) #7
mtklein
On 2014/01/28 19:46:57, mtklein wrote: > lgtm > > -v will show each tests each ...
6 years, 10 months ago (2014-01-28 19:50:04 UTC) #8
borenet
Ah, good to know. Uploaded patch set 5 https://codereview.chromium.org/144343004/diff/50001/tests/Test.h File tests/Test.h (right): https://codereview.chromium.org/144343004/diff/50001/tests/Test.h#newcode67 tests/Test.h:67: virtual ...
6 years, 10 months ago (2014-01-28 19:53:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/borenet@google.com/144343004/70001
6 years, 10 months ago (2014-01-28 19:53:43 UTC) #10
mtklein
On 2014/01/28 19:53:18, borenet wrote: > Ah, good to know. Uploaded patch set 5 > ...
6 years, 10 months ago (2014-01-28 19:54:38 UTC) #11
commit-bot: I haz the power
Change committed as 13223
6 years, 10 months ago (2014-01-28 20:02:53 UTC) #12
borenet
6 years, 10 months ago (2014-01-28 20:21:12 UTC) #13
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/148173010/ by borenet@google.com.

The reason for reverting is: Broke tests on Win7 and Mac.

Powered by Google App Engine
This is Rietveld 408576698