summaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-08-07 09:38:35 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-08-07 09:38:35 +0800
commit4d10f82c2dd64ee05f9e8c5c6b07d82fbd3ff7fd (patch)
tree23d83699e51a3440709ac6768e539bc910a9a1ce /src/run.bash
parent125038ed63faaecf5765f1bcff6d51c31f82fd2b (diff)
downloadgo-4d10f82c2dd64ee05f9e8c5c6b07d82fbd3ff7fd.tar.gz
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 http://codereview.appspot.com/6220049
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run.bash b/src/run.bash
index ca84b7034..e818e96ec 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 ] ||