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

Issue 17552012: GM: add --missingExpectationsPath option, similar to --mismatchPath (Closed)

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

Description

GM: add --missingExpectationsPath option, similar to --mismatchPath This will allow us to make the buildbots record all images EXCEPT those which match expectations to Google Storage. R=borenet@google.com Committed: https://code.google.com/p/skia/source/detail?r=9725

Patch Set 1 #

Total comments: 1

Patch Set 2 : add_new_flag_and_test #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -22 lines) Patch
M gm/gmmain.cpp View 1 8 chunks +29 lines, -1 line 4 comments Download
M gm/tests/outputs/checksum-based-filenames/output-expected/command_line View 1 1 chunk +1 line, -1 line 4 comments Download
A gm/tests/outputs/checksum-based-filenames/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/checksum-based-filenames/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/checksum-based-filenames/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/checksum-based-filenames/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-different-pixels-images/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-images/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-images/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-images/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-images/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-different-pixels-images/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-images/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-images/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-images/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-different-pixels-json/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-json/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-json/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-json/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-json/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-different-pixels-json/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-json/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-json/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-different-pixels-json/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-empty-dir/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/compared-against-empty-dir/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-empty-dir/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-empty-dir/output-expected/missingExpectationsPath/565/selftest1.png View 1 1 chunk +1 line, -0 lines 1 comment Download
A gm/tests/outputs/compared-against-empty-dir/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-empty-dir/output-expected/missingExpectationsPath/8888/selftest1.png View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-empty-dir/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-empty-dir/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-empty-dir/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-empty-dir/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-empty-dir/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-images/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-images/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-images/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-images/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-images/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-images/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-images/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-images/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-images/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-json/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-json/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-json/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-json/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-json/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-json/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-json/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-json/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-bytes-json/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-images/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-images/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-images/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-images/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-images/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-images/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-images/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-images/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-images/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-json/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-json/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-json/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-json/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-json/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-json/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-json/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-json/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/compared-against-identical-pixels-json/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/compared-against-nonexistent-dir/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/ignore-expectations-mismatch/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/ignore-expectations-mismatch/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/ignore-expectations-mismatch/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/ignore-expectations-mismatch/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/ignore-expectations-mismatch/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/ignore-expectations-mismatch/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/ignore-expectations-mismatch/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/ignore-expectations-mismatch/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/ignore-expectations-mismatch/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/intentionally-skipped-tests/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/intentionally-skipped-tests/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/intentionally-skipped-tests/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/intentionally-skipped-tests/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/intentionally-skipped-tests/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/intentionally-skipped-tests/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/intentionally-skipped-tests/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/intentionally-skipped-tests/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/intentionally-skipped-tests/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/no-hierarchy/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/no-hierarchy/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/no-hierarchy/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/no-hierarchy/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/no-hierarchy/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/no-readpath/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/no-readpath/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/no-readpath/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/no-readpath/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/no-readpath/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/no-readpath/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/no-readpath/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/no-readpath/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/no-readpath/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/nonverbose/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/nonverbose/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/nonverbose/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/nonverbose/output-expected/missingExpectationsPath/565/selftest1.png View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/nonverbose/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/nonverbose/output-expected/missingExpectationsPath/8888/selftest1.png View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/nonverbose/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/nonverbose/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/nonverbose/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/nonverbose/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/pipe-playback-failure/output-expected/command_line View 1 1 chunk +1 line, -1 line 0 comments Download
A gm/tests/outputs/pipe-playback-failure/output-expected/mismatchPath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/pipe-playback-failure/output-expected/missingExpectationsPath/565/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/pipe-playback-failure/output-expected/missingExpectationsPath/8888/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/pipe-playback-failure/output-expected/missingExpectationsPath/bogusfile View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/outputs/pipe-playback-failure/output-expected/stdout View 1 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/pipe-playback-failure/output-expected/writePath/565/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/pipe-playback-failure/output-expected/writePath/8888/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
A gm/tests/outputs/pipe-playback-failure/output-expected/writePath/bogusfile View 1 chunk +1 line, -0 lines 0 comments Download
M gm/tests/run.sh View 1 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
epoger
https://codereview.chromium.org/17552012/diff/1/gm/tests/run.sh File gm/tests/run.sh (right): https://codereview.chromium.org/17552012/diff/1/gm/tests/run.sh#newcode112 gm/tests/run.sh:112: # Add a file to any empty subdirectories. Patchset ...
7 years, 6 months ago (2013-06-21 17:39:42 UTC) #1
epoger
Ready for review at patchset 2 https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp#newcode196 gm/gmmain.cpp:196: fMismatchPath(NULL), fMissingExpectationsPath(NULL), fTestsRun(0), ...
7 years, 6 months ago (2013-06-21 17:46:44 UTC) #2
borenet
https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp#newcode196 gm/gmmain.cpp:196: fMismatchPath(NULL), fMissingExpectationsPath(NULL), fTestsRun(0), On 2013/06/21 17:46:44, epoger wrote: > ...
7 years, 6 months ago (2013-06-21 18:01:14 UTC) #3
epoger
https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp#newcode196 gm/gmmain.cpp:196: fMismatchPath(NULL), fMissingExpectationsPath(NULL), fTestsRun(0), On 2013/06/21 18:01:14, borenet wrote: > ...
7 years, 6 months ago (2013-06-21 18:06:46 UTC) #4
borenet
LGTM https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp#newcode196 gm/gmmain.cpp:196: fMismatchPath(NULL), fMissingExpectationsPath(NULL), fTestsRun(0), On 2013/06/21 18:06:46, epoger wrote: ...
7 years, 6 months ago (2013-06-21 18:14:09 UTC) #5
epoger
Committed patchset #2 manually as r9725 (presubmit successful).
7 years, 6 months ago (2013-06-21 18:17:22 UTC) #6
epoger
7 years, 6 months ago (2013-06-21 18:21:06 UTC) #7
Message was sent while issue was closed.
On 2013/06/21 18:14:09, borenet wrote:
> LGTM
> 
> https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp
> File gm/gmmain.cpp (right):
> 
> https://codereview.chromium.org/17552012/diff/4001/gm/gmmain.cpp#newcode196
> gm/gmmain.cpp:196: fMismatchPath(NULL), fMissingExpectationsPath(NULL),
> fTestsRun(0),
> On 2013/06/21 18:06:46, epoger wrote:
> > On 2013/06/21 18:01:14, borenet wrote:
> > > On 2013/06/21 17:46:44, epoger wrote:
> > > > Patchset 2 adds the new missingExpectationsPath flag to GM
> > > 
> > > So, we put the actuals for GMs with no expectations in a different place
> from
> > > those with mismatches.  Is this so that we can upload them to different
> > places? 
> > > I think we want to upload them in either case.
> > 
> > As you'll see in https://codereview.chromium.org/16907006/ ('buildbots: only
> > store/upload GM results we haven't seen before, to save time'), my plan is
to
> > store both of them in the SAME directory.
> > 
> > Another way to achieve this would be to change the meaning of --mismatchPath
> to
> > be: write out any files that either mismatch expectations, OR DON'T HAVE
ANY. 
> > But it seemed safer/cleaner to add a new option, and allow the caller to put
> the
> > images wherever he wants them.
> 
> I think that's fine, I just can't think of a case where we'd actually put them
> in different places.
> 
>
https://codereview.chromium.org/17552012/diff/4001/gm/tests/outputs/checksum-...
> File gm/tests/outputs/checksum-based-filenames/output-expected/command_line
> (right):
> 
>
https://codereview.chromium.org/17552012/diff/4001/gm/tests/outputs/checksum-...
> gm/tests/outputs/checksum-based-filenames/output-expected/command_line:1:
> out/Debug/gm --verbose --writeChecksumBasedFilenames --match selftest1
--config
> 8888 565 -r gm/tests/inputs/json/different-pixels-no-hierarchy.json
> --writeJsonSummaryPath
> gm/tests/outputs/checksum-based-filenames/output-actual/json-summary.txt
> --writePath gm/tests/outputs/checksum-based-filenames/output-actual/writePath
> --mismatchPath
> gm/tests/outputs/checksum-based-filenames/output-actual/mismatchPath
> --missingExpectationsPath
>
gm/tests/outputs/checksum-based-filenames/output-actual/missingExpectationsPath
> On 2013/06/21 18:06:46, epoger wrote:
> > On 2013/06/21 18:01:14, borenet wrote:
> > > These expectations are getting really unwieldy.  Is there a good way to
> > > simplify?
> > 
> > I agree, especially all the "bogusfile"s to make sure the directories aren't
> > empty.
> > 
> > 1. Do you have a particular simplifying suggestion?
> > 
> > 2. Do you think it would be reasonable to commit this change as-is and
> simplify
> > the test later, so we can start saving time on our buildbots?
> 
> 1. Maybe modify the test so that it can handle empty or nonexistent
directories?
>  FWIW I think "whitespace.txt" is a better name for an empty placeholder file.

> It makes it clear that nobody needs to open it and read it.  For changes which
> affect the buildbot factory config test, I typically won't include the
> expectations files in the review, or I'll only include one, unless there are
> some significant changes.
> 
> 2. Yes, that's fine.

Filed https://code.google.com/p/skia/issues/detail?id=1363 ('gm self-tests:
streamline storage/comparison of empty directories'), and made a note to myself
to look into it when I return from vacation.

Thanks.

Powered by Google App Engine
This is Rietveld 408576698