aboutsummaryrefslogtreecommitdiff
path: root/test/goprint.go
AgeCommit message (Collapse)Author
2019-10-10test: adjust a test to work with js/wasm's background goroutineBrad Fitzpatrick
Fixes #34768 Change-Id: Ic73591f620cdee5bc7203483902e6ba98d2c442b Reviewed-on: https://go-review.googlesource.com/c/go/+/200438 Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-05-31test: remove rundircmpout and cmpout actionsYury Smolsky
This CL removes the rundircmpout action completely because it is not used anywhere. The run case already looks for output files. Rename the cmpout action mentioned in tests to the run action and remove "cmpout" from run.go. Change-Id: I835ceb70082927f8e9360e0ea0ba74f296363ab3 Reviewed-on: https://go-review.googlesource.com/115575 Run-TryBot: Yury Smolsky <yury@smolsky.by> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-05-02all: make copyright headers consistent with one space after periodEmmanuel Odeke
Follows suit with https://go-review.googlesource.com/#/c/20111. Generated by running $ grep -R 'Go Authors. All' * | cut -d":" -f1 | while read F;do perl -pi -e 's/Go Authors. All/Go Authors. All/g' $F;done The code in cmd/internal/unvendor wasn't changed. Fixes #15213 Change-Id: I4f235cee0a62ec435f9e8540a1ec08ae03b1a75f Reviewed-on: https://go-review.googlesource.com/21819 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-04-06test: make goprint.go wait for goroutine terminationRichard Miller
Test goprint.go sometimes failed on a slow builder (plan9_arm) because of timing dependency. Instead of sleeping for a fixed time to allow the child goroutine to finish, wait explicitly for child termination by calling runtime.NumGoroutine until the returned value is 1. Fixes #15097 Change-Id: Ib3ef5ec3c8277083c774542f48bcd4ff2f79efde Reviewed-on: https://go-review.googlesource.com/21603 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
2013-04-12test: make goprint.go wait longer for go its routine to executeCarl Shapiro
Update #5281 R=golang-dev, r, bradfitz, cshapiro CC=golang-dev https://golang.org/cl/8631047
2012-02-24test: add cmpout to testlibBrad Fitzpatrick
R=golang-dev, r CC=golang-dev https://golang.org/cl/5699060
2012-02-19test: explanatory comments [c-g]*Rob Pike
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656103
2012-01-18test: split golden.out into expected output per testIan Lance Taylor
This will permit gccgo to check test output. R=golang-dev, r CC=golang-dev https://golang.org/cl/5554056
2011-06-13gc: handle go print() and go println()Stephen Ma
Fixes #1952. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4611041