aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-03-07 10:15:20 -0500
committerRuss Cox <rsc@golang.org>2012-03-07 10:15:20 -0500
commitafb1b0e6b77e40cae93eccd68dbfd5b9404920cb (patch)
tree6646305691ab94d06d6cef8002834e18f9003b7d /src/run.bash
parentae7a84347100f375f9c7ba01cf042faf4e9fcc1a (diff)
downloadgo-afb1b0e6b77e40cae93eccd68dbfd5b9404920cb.tar.xz
undo CL 5754063 / e23b66fcfc94
Does not actually test so files. ««« original CL description misc/cgo: re-enable testso Also enabled it for darwin. R=rsc CC=golang-dev https://golang.org/cl/5754063 »»» R=golang-dev, minux.ma, r, f CC=golang-dev https://golang.org/cl/5756075
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/run.bash b/src/run.bash
index c6f02e303a..b5ffaa9974 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -57,10 +57,13 @@ BROKEN=true
go test
) || exit $?
+$BROKEN ||
[ "$CGO_ENABLED" != 1 ] ||
[ "$GOHOSTOS" == windows ] ||
+[ "$GOHOSTOS" == darwin ] ||
(xcd ../misc/cgo/testso
-go test
+"$GOMAKE" clean
+./test.bash
) || exit $?
(xcd ../doc/progs