]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/test: run tests
authorRuss Cox <rsc@golang.org>
Mon, 2 May 2011 17:55:51 +0000 (13:55 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 2 May 2011 17:55:51 +0000 (13:55 -0400)
commitf985638b94bb72c80e5e27c284d37eabe7d09aea
tree48066d95bb309472ba228f9fad3f62a077330df6
parent3599e3fc12e0b2056b15ce4286af9c332b0157dd
misc/cgo/test: run tests

The new gotest ignores Test functions outside *_test.go files
(the old shell script allowed them), so replace one clumsy hack
with another.

The root problem is that the package makefiles only know
how to run cgo for source files in the package proper, not
for test files.  Making it work for test files is probably more
trouble than it's worth.

R=bradfitz
CC=golang-dev
https://golang.org/cl/4452060
misc/cgo/test/align.go
misc/cgo/test/basic.go
misc/cgo/test/callback.go
misc/cgo/test/cgo_test.go
misc/cgo/test/issue1328.go
misc/cgo/test/issue1560.go