aboutsummaryrefslogtreecommitdiff
path: root/test/goprint.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2012-01-18 16:12:24 -0800
committerIan Lance Taylor <iant@golang.org>2012-01-18 16:12:24 -0800
commit5e77b009d0e9dc8c92fe91d0a2d3182e9fff10ae (patch)
tree0a7dc29c0aca17c6029d1570959d760e441bae49 /test/goprint.go
parenteaf8295f3d587fcd615dbaa310954e9e6e5cdad5 (diff)
downloadgo-5e77b009d0e9dc8c92fe91d0a2d3182e9fff10ae.tar.gz
go-5e77b009d0e9dc8c92fe91d0a2d3182e9fff10ae.zip
test: split golden.out into expected output per test
This will permit gccgo to check test output. R=golang-dev, r CC=golang-dev https://golang.org/cl/5554056
Diffstat (limited to 'test/goprint.go')
-rw-r--r--test/goprint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/goprint.go b/test/goprint.go
index c0e34c750e..53ed055a07 100644
--- a/test/goprint.go
+++ b/test/goprint.go
@@ -1,4 +1,4 @@
-// $G $D/$F.go && $L $F.$A && ./$A.out
+// $G $D/$F.go && $L $F.$A && ./$A.out 2>&1 | cmp - $D/$F.out
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style