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

Issue 12825005: gm self-test: make sure we report failures in individual rendering modes (Closed)

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

Description

gm self-test: make sure we report failures in individual rendering modes (test: if only pipe playback fails, is it reported properly?) Closed in favor of https://codereview.chromium.org/12807006 ('gm: report drawing mode discrepancies (e.g. pipe vs tiled) explicitly')

Patch Set 1 #

Total comments: 12

Patch Set 2 : extract run_multiple_configs and run_multiple_drawing_modes #

Total comments: 1

Patch Set 3 : report drawing mode discrepancies #

Patch Set 4 : update gm self-test expectations to match patchset 3 #

Total comments: 16
Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -239 lines) Patch
M gm/gmmain.cpp View 1 2 14 chunks +276 lines, -226 lines 1 comment Download
M gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout View 1 2 3 1 chunk +1 line, -1 line 6 comments Download
M gm/tests/outputs/compared-against-different-pixels-json/output-expected/stdout View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-empty-dir/output-expected/stdout View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-images/output-expected/stdout View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-json/output-expected/stdout View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-images/output-expected/stdout View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-json/output-expected/stdout View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/no-readpath/output-expected/stdout View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + gm/tests/outputs/pipe-playback-failure/output-expected/command_line View 1 chunk +1 line, -1 line 0 comments Download
A + gm/tests/outputs/pipe-playback-failure/output-expected/json-summary.txt View 1 2 3 2 chunks +9 lines, -1 line 8 comments Download
A + gm/tests/outputs/pipe-playback-failure/output-expected/return_value View 1 chunk +1 line, -1 line 0 comments Download
A + gm/tests/outputs/pipe-playback-failure/output-expected/stderr View 1 chunk +2 lines, -0 lines 0 comments Download
A + gm/tests/outputs/pipe-playback-failure/output-expected/stdout View 1 2 1 chunk +2 lines, -2 lines 1 comment Download
M gm/tests/run.sh View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
epoger
Eric: please see important comment in json-summary.txt https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp#newcode266 gm/gmmain.cpp:266: completeName.append(renderModeDescriptor); fixing ...
7 years, 9 months ago (2013-03-14 17:22:19 UTC) #1
epoger
https://codereview.chromium.org/12825005/diff/1/gm/tests/outputs/pipe-playback-failure/output-expected/json-summary.txt File gm/tests/outputs/pipe-playback-failure/output-expected/json-summary.txt (right): https://codereview.chromium.org/12825005/diff/1/gm/tests/outputs/pipe-playback-failure/output-expected/json-summary.txt#newcode6 gm/tests/outputs/pipe-playback-failure/output-expected/json-summary.txt:6: "succeeded" : { On 2013/03/14 17:22:19, epoger wrote: > ...
7 years, 9 months ago (2013-03-14 18:16:21 UTC) #2
borenet
https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp#newcode197 gm/gmmain.cpp:197: fSimulatePipePlaybackFailure = false; I'm not sure I like the ...
7 years, 9 months ago (2013-03-14 18:48:20 UTC) #3
epoger
https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp#newcode197 gm/gmmain.cpp:197: fSimulatePipePlaybackFailure = false; On 2013/03/14 18:48:21, borenet wrote: > ...
7 years, 9 months ago (2013-03-14 18:57:12 UTC) #4
borenet
https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp#newcode197 gm/gmmain.cpp:197: fSimulatePipePlaybackFailure = false; On 2013/03/14 18:57:12, epoger wrote: > ...
7 years, 9 months ago (2013-03-14 19:02:21 UTC) #5
rmistry
https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp#newcode197 gm/gmmain.cpp:197: fSimulatePipePlaybackFailure = false; On 2013/03/14 18:57:12, epoger wrote: > ...
7 years, 9 months ago (2013-03-14 19:47:33 UTC) #6
epoger
Feel free to take a look at patchset 2 if you like, but it's just ...
7 years, 9 months ago (2013-03-14 21:18:02 UTC) #7
epoger
PTAL at patchset 4 https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp#newcode197 gm/gmmain.cpp:197: fSimulatePipePlaybackFailure = false; > Yeah, ...
7 years, 9 months ago (2013-03-14 22:36:26 UTC) #8
borenet
I have a few concerns... https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12825005/diff/1/gm/gmmain.cpp#newcode197 gm/gmmain.cpp:197: fSimulatePipePlaybackFailure = false; On ...
7 years, 9 months ago (2013-03-15 20:15:53 UTC) #9
epoger
Thanks, Eric... I don't have access to my checkout at the moment to update this ...
7 years, 9 months ago (2013-03-15 22:05:55 UTC) #10
borenet
https://codereview.chromium.org/12825005/diff/18001/gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout File gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout (right): https://codereview.chromium.org/12825005/diff/18001/gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout#newcode3 gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout:3: GM: Ran 1 tests: 0 passed, 1 failed, 0 ...
7 years, 9 months ago (2013-03-18 12:26:37 UTC) #11
epoger
I tried to sync this to HEAD today, and there have been so many changes ...
7 years, 9 months ago (2013-03-20 17:27:51 UTC) #12
epoger
On 2013/03/20 17:27:51, epoger wrote: > I tried to sync this to HEAD today, and ...
7 years, 9 months ago (2013-03-20 19:06:59 UTC) #13
epoger
Eric- I think we are down to one last item that should be resolved before ...
7 years, 9 months ago (2013-03-21 16:08:32 UTC) #14
borenet
https://codereview.chromium.org/12825005/diff/18001/gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout File gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout (right): https://codereview.chromium.org/12825005/diff/18001/gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout#newcode3 gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout:3: GM: Ran 1 tests: 0 passed, 1 failed, 0 ...
7 years, 9 months ago (2013-03-21 18:12:47 UTC) #15
epoger
On 2013/03/21 18:12:47, borenet wrote: > Consistency is good! I like it, but as you ...
7 years, 9 months ago (2013-03-21 18:17:46 UTC) #16
borenet
7 years, 9 months ago (2013-03-21 18:19:50 UTC) #17
On 2013/03/21 18:17:46, epoger wrote:
> On 2013/03/21 18:12:47, borenet wrote:
> > Consistency is good!  I like it, but as you demonstrated, it doesn't solve
the
> > issue of a single GM failing in multiple ways.  However, I don't really
think
> > that's a big problem, since we rarely (to my knowledge) use the number of
> > failures as opposed to wanting to know *what* failed and why.
> 
> So are you in favor of me changing it to give output as I described above? 
From
> your reply, I *think* so, but I'm not sure. :-)

I guess both consistency *and* clarity are good.  Yes, I think that's a good way
to go.

Powered by Google App Engine
This is Rietveld 408576698