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

Issue 13979017: GM self-tests: always run all tests (don't stop at first failure) (Closed)

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

Description

GM self-tests: always run all tests (don't stop at first failure) and make rebaseline.sh rebaseline all tests in one go. (RunBuilders:Skia_PerCommit_House_Keeping) Committed: https://code.google.com/p/skia/source/detail?r=8881

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -8 lines) Patch
M gm/tests/rebaseline.sh View 2 chunks +3 lines, -6 lines 0 comments Download
M gm/tests/run.sh View 3 chunks +9 lines, -2 lines 7 comments Download

Messages

Total messages: 5 (0 generated)
epoger
7 years, 8 months ago (2013-04-26 15:59:06 UTC) #1
epoger
Ready for review.
7 years, 8 months ago (2013-04-26 15:59:42 UTC) #2
borenet
LGTM with optional suggestions. https://codereview.chromium.org/13979017/diff/1/gm/tests/run.sh File gm/tests/run.sh (right): https://codereview.chromium.org/13979017/diff/1/gm/tests/run.sh#newcode43 gm/tests/run.sh:43: ENCOUNTERED_ANY_ERRORS=1 Alternatively, you could add ...
7 years, 8 months ago (2013-04-26 16:04:09 UTC) #3
epoger
I'd like to leave it as-is (details below). Is that OK with you? https://codereview.chromium.org/13979017/diff/1/gm/tests/run.sh File ...
7 years, 8 months ago (2013-04-26 16:10:54 UTC) #4
borenet
7 years, 8 months ago (2013-04-26 16:12:43 UTC) #5
LGTM

https://codereview.chromium.org/13979017/diff/1/gm/tests/run.sh
File gm/tests/run.sh (right):

https://codereview.chromium.org/13979017/diff/1/gm/tests/run.sh#newcode43
gm/tests/run.sh:43: ENCOUNTERED_ANY_ERRORS=1
On 2013/04/26 16:10:55, epoger wrote:
> On 2013/04/26 16:04:09, borenet wrote:
> > Alternatively, you could add error messages to this variable:
> > ERRORS="${ERRORS}\n${NEW_ERROR_MSG}"
> > 
> > And test if it's empty at the end.
> 
> The question is, what would I put into $ERRORS that would be a useful summary?
> 
> I suppose I could pipe (or tee) the output of diff to $ERRORS, but I'm not
sure
> whether that output would make sense without the context provided by the
output
> generated as it goes.
> 
> I think it's best to just tell the human it failed, and trust her to scroll up
> and see what happened, for now.  Maybe we can improve that later...

Fair enough.

Powered by Google App Engine
This is Rietveld 408576698