Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1637)

Issue 5723050: code review 5723050: tests: make sigchld test print "BUG:" output on failure

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by jsing
Modified:
13 years, 5 months ago
Reviewers:
iant2, golang-dev
Visibility:
Public.

Description

tests: make sigchld test print "BUG:" output on failure

Patch Set 1 : diff -r 707a37580927 https://go.googlecode.com/hg/ #

Patch Set 2 : diff -r c7cbeae11662 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r c7cbeae11662 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M test/sigchld.go View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 2
jsing
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2012-05-20 15:44:23 UTC) #1
iant2
13 years, 5 months ago (2012-05-20 17:48:55 UTC) #2
We are moving toward simple rules for tests, so that they can be run by test/run.go. This is just the cmpout rule, except not run on Windows. Perhaps the cmpout rule needs to print BUG. Either way, this should be the same as the cmpout rule, and should not have a test-specific echo. Ian jsing@google.com writes: > Reviewers: golang-dev_googlegroups.com, > > Message: > Hello golang-dev@googlegroups.com, > > I'd like you to review this change to > https://go.googlecode.com/hg/ > > > Description: > tests: make sigchld test print "BUG:" output on failure > > Please review this at http://codereview.appspot.com/5723050/ > > Affected files: > M test/sigchld.go > > > Index: test/sigchld.go > =================================================================== > --- a/test/sigchld.go > +++ b/test/sigchld.go > @@ -1,5 +1,6 @@ > // [ "$GOOS" == windows ] || > -// ($G $D/$F.go && $L $F.$A && ./$A.out 2>&1 | cmp - $D/$F.out) > +// ($G $D/$F.go && $L $F.$A && ./$A.out 2>&1 | cmp - $D/$F.out || > +// echo "BUG: failed to survive SIGCHLD") > > // Copyright 2009 The Go Authors. All rights reserved. > // Use of this source code is governed by a BSD-style 
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b