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

Issue 13842014: Add option to specify defaults configs to --config flag in gm. This makes it easier to run gm defau… (Closed)

Created:
7 years, 8 months ago by bsalomon
Modified:
7 years, 8 months ago
Reviewers:
epoger, borenet, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Add option to specify defaults configs to --config flag in gm. This makes it easier to run gm defaults configs with a delta. Also make ~ exclude a config. Committed: https://code.google.com/p/skia/source/detail?r=8842

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Add option to specify defaults configs to --config flag in gm. This makes it easier to run gm defau… #

Total comments: 6

Patch Set 5 : Add option to specify defaults configs to --config flag in gm. This makes it easier to run gm defau… #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -7 lines) Patch
M gm/gmmain.cpp View 1 2 3 4 4 chunks +69 lines, -7 lines 2 comments Download
M gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-different-pixels-json/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-empty-dir/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-images/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-json/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-images/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-json/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-nonexistent-dir/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/ignore-expectations-mismatch/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/intentionally-skipped-tests/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 2 comments Download
M gm/tests/outputs/no-readpath/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/nonverbose/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/pipe-playback-failure/output-expected/stdout View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
bsalomon
If we're happy with ~ we could remove --excludeConfig. But maybe the bot scripts are ...
7 years, 8 months ago (2013-04-20 19:15:15 UTC) #1
reed1
Can you show some example invocations using default and ~?
7 years, 8 months ago (2013-04-22 12:25:03 UTC) #2
bsalomon
On 2013/04/22 12:25:03, reed1 wrote: > Can you show some example invocations using default and ...
7 years, 8 months ago (2013-04-22 12:54:30 UTC) #3
reed1
lgtm
7 years, 8 months ago (2013-04-22 13:26:18 UTC) #4
bsalomon
Add option to specify defaults configs to --config flag in gm. This makes it easier ...
7 years, 8 months ago (2013-04-22 15:18:02 UTC) #5
bsalomon
The latest patch does the following additional things: 1) Now if you pass --config you ...
7 years, 8 months ago (2013-04-22 15:22:00 UTC) #6
epoger
On 2013/04/22 15:22:00, bsalomon wrote: > Adding Elliot because I changed the output of GM ...
7 years, 8 months ago (2013-04-23 16:07:48 UTC) #7
epoger
https://codereview.chromium.org/13842014/diff/12001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/13842014/diff/12001/gm/gmmain.cpp#newcode1203 gm/gmmain.cpp:1203: } else if (firstNonDefault.isEmpty()) { you could just remember ...
7 years, 8 months ago (2013-04-23 16:29:40 UTC) #8
bsalomon
Add option to specify defaults configs to --config flag in gm. This makes it easier ...
7 years, 8 months ago (2013-04-24 15:05:48 UTC) #9
bsalomon
https://codereview.chromium.org/13842014/diff/12001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/13842014/diff/12001/gm/gmmain.cpp#newcode1203 gm/gmmain.cpp:1203: } else if (firstNonDefault.isEmpty()) { On 2013/04/23 16:29:40, epoger ...
7 years, 8 months ago (2013-04-24 15:13:54 UTC) #10
epoger
LGTM https://codereview.chromium.org/13842014/diff/18001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/13842014/diff/18001/gm/gmmain.cpp#newcode177 gm/gmmain.cpp:177: static bool encode_to_dct_stream(SkWStream* stream, const SkBitmap& bitmap, const ...
7 years, 8 months ago (2013-04-24 16:18:26 UTC) #11
bsalomon
Committed patchset #5 manually as r8842 (presubmit successful).
7 years, 8 months ago (2013-04-24 18:07:18 UTC) #12
bsalomon
7 years, 8 months ago (2013-04-24 18:07:33 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/13842014/diff/18001/gm/gmmain.cpp
File gm/gmmain.cpp (right):

https://codereview.chromium.org/13842014/diff/18001/gm/gmmain.cpp#newcode177
gm/gmmain.cpp:177: static bool encode_to_dct_stream(SkWStream* stream, const
SkBitmap& bitmap, const SkIRect& rect);
On 2013/04/24 16:18:26, epoger wrote:
> Looks like this got picked up from
>
https://code.google.com/p/skia/source/diff?spec=svn8839&r=8835&format=side&pa...
> ... in future code reviews, I would suggest doing a separate "gcl upload" for
> syncing your workspace to a newer rev.  It makes the per-patchset diffs more
> useful.   (yadda yadda IMHO yadda yadda)


Sorry 'bout that... I moved the CL from my home machine to an office machine
with a later base rev.

https://codereview.chromium.org/13842014/diff/18001/gm/tests/outputs/intentio...
File gm/tests/outputs/intentionally-skipped-tests/output-expected/stdout
(right):

https://codereview.chromium.org/13842014/diff/18001/gm/tests/outputs/intentio...
gm/tests/outputs/intentionally-skipped-tests/output-expected/stdout:5: GM: ...
over  2 configs ["8888", "565"]
On 2013/04/24 16:18:26, epoger wrote:
> Note that in verbose mode, we were already reporting which configs were run.

But only after they all ran (which without --match is a long time). The idea
here is for a dev to see the configs right away before waiting for the tests to
run. I suppose we could consider moving the existing print in a future CL.

Powered by Google App Engine
This is Rietveld 408576698