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

Issue 23725003: gm self-tests: stop comparing stdout/stderr/command_line, just look at JSON summary (Closed)

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

Description

gm self-tests: stop comparing stdout/stderr/command_line, just look at JSON summary BUG=skia:1568

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -297 lines) Patch
D gm/tests/outputs/add-config-pdf/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/add-config-pdf/output-expected/stdout View 1 chunk +0 lines, -19 lines 1 comment Download
D gm/tests/outputs/checksum-based-filenames/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/checksum-based-filenames/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/compared-against-different-pixels-images/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/compared-against-different-pixels-images/output-expected/stderr View 1 chunk +0 lines, -2 lines 0 comments Download
D gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/compared-against-different-pixels-json/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/compared-against-different-pixels-json/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/compared-against-empty-dir/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/compared-against-empty-dir/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/compared-against-identical-bytes-images/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/compared-against-identical-bytes-images/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/compared-against-identical-bytes-json/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/compared-against-identical-bytes-json/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/compared-against-identical-pixels-images/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/compared-against-identical-pixels-images/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/compared-against-identical-pixels-json/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/compared-against-identical-pixels-json/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/compared-against-nonexistent-dir/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/compared-against-nonexistent-dir/output-expected/stderr View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/compared-against-nonexistent-dir/output-expected/stdout View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/ignore-expectations-mismatch/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/ignore-expectations-mismatch/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/intentionally-skipped-tests/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/intentionally-skipped-tests/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/no-hierarchy/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/no-hierarchy/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
D gm/tests/outputs/no-readpath/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/no-readpath/output-expected/stdout View 1 chunk +0 lines, -17 lines 0 comments Download
D gm/tests/outputs/nonverbose/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/nonverbose/output-expected/stdout View 1 chunk +0 lines, -10 lines 0 comments Download
D gm/tests/outputs/pipe-playback-failure/output-expected/command_line View 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/pipe-playback-failure/output-expected/stderr View 1 chunk +0 lines, -2 lines 0 comments Download
D gm/tests/outputs/pipe-playback-failure/output-expected/stdout View 1 chunk +0 lines, -18 lines 0 comments Download
M gm/tests/run.sh View 2 chunks +1 line, -13 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
epoger
Any thoughts on my comments below? https://codereview.chromium.org/23725003/diff/1/gm/tests/outputs/add-config-pdf/output-expected/stdout File gm/tests/outputs/add-config-pdf/output-expected/stdout (left): https://codereview.chromium.org/23725003/diff/1/gm/tests/outputs/add-config-pdf/output-expected/stdout#oldcode9 gm/tests/outputs/add-config-pdf/output-expected/stdout:9: GM: ... over ...
7 years, 3 months ago (2013-08-28 19:43:04 UTC) #1
bsalomon
On 2013/08/28 19:43:04, epoger wrote: > Any thoughts on my comments below? > > https://codereview.chromium.org/23725003/diff/1/gm/tests/outputs/add-config-pdf/output-expected/stdout ...
7 years, 3 months ago (2013-08-28 20:41:59 UTC) #2
epoger
On 2013/08/28 20:41:59, bsalomon wrote: > My general thought is I have > no problem ...
7 years, 3 months ago (2013-08-29 16:03:25 UTC) #3
bsalomon
7 years, 3 months ago (2013-08-29 17:49:27 UTC) #4
On 2013/08/29 16:03:25, epoger wrote:
> On 2013/08/28 20:41:59, bsalomon wrote:
> > My general thought is I have
> > no problem self-testing in order to validate that the tool did what we
expect.
> > But I would like it if we did that by dumping a report in a separate
> > machine-readable format (e.g. a json, csv, or xml file) rather than using
the
> > stdout and stderr output that a dev sees. It's nice to be able to decide to
> > reformat the print outs to make them more usable to developers without
busting
> > the test system.
> 
> Seems fair enough.
> 
> In the case of GM, we already have the JSON summary that the tool writes out. 
> Do you think it might be a good idea to add a stanza to that JSON summary
> containing this information in some form?
> 
> GM: Ran 1 GMs	
> GM: ... over  3 configs ["8888", "565", "pdf"]	
> GM: ...  and  7 modes   ["pipe", "pipe cross-process", "pipe cross-process,
> shared address", "replay", "rtree", "serialize", "tilegrid"]	
> GM: ... so there should be a total of 10 tests.	
> GM: Ran 10 tests: NoGpuContext=0 IntentionallySkipped=0 RenderModeMismatch=0
> ExpectationsMismatch=0 MissingExpectations=1 WritingReferenceImage=0

That makes sense to me.

Powered by Google App Engine
This is Rietveld 408576698