diff options
| author | Shenghou Ma <minux.ma@gmail.com> | 2012-08-07 09:38:35 +0800 |
|---|---|---|
| committer | Shenghou Ma <minux.ma@gmail.com> | 2012-08-07 09:38:35 +0800 |
| commit | 1e95429c3fbfb9a30bd8a68e95bce4f882b40aec (patch) | |
| tree | 9ddd2899f93ea6b7a1d88ab1b214c4af9faaa5f2 /src/run.bash | |
| parent | 2276ab92c116b8ae376fd28850bb0cf845f6de49 (diff) | |
| download | go-1e95429c3fbfb9a30bd8a68e95bce4f882b40aec.tar.xz | |
misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo tests
Enhances test/run.go to support testing other directories
Will enable stdio tests on Windows in a follow-up CL.
R=golang-dev, alex.brainman, rsc
CC=golang-dev
https://golang.org/cl/6220049
Diffstat (limited to 'src/run.bash')
| -rwxr-xr-x | src/run.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run.bash b/src/run.bash index ca84b7034d..e818e96ecc 100755 --- a/src/run.bash +++ b/src/run.bash @@ -49,12 +49,12 @@ xcd() { [ "$CGO_ENABLED" != 1 ] || [ "$GOHOSTOS" == windows ] || (xcd ../misc/cgo/stdio -./test.bash +go run $GOROOT/test/run.go - . ) || exit $? [ "$CGO_ENABLED" != 1 ] || (xcd ../misc/cgo/life -./test.bash +go run $GOROOT/test/run.go - . ) || exit $? [ "$CGO_ENABLED" != 1 ] || |
