summaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2014-08-12 07:13:52 -0700
committerMatthew Dempsky <mdempsky@google.com>2014-08-12 07:13:52 -0700
commitb098b65aff5a1ab962e470616da14eeede032c62 (patch)
tree576fc333e1d0c82d5853dbcb63676dd4936bdcba /src/run.bash
parentd0d43ff83a5b0182e3c05176cca0542e4ae9f16d (diff)
downloadgo-b098b65aff5a1ab962e470616da14eeede032c62.tar.gz
run.bash: run misc/cgo/testgodefs/test.bash
misc/cgo/testgodefs was added by revision d1cf884a594f, but not add to run.bash. LGTM=iant R=iant CC=golang-codereviews https://codereview.appspot.com/129760044 Committer: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/run.bash b/src/run.bash
index d13161e9d..b5f061d88 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -162,7 +162,7 @@ android-arm | dragonfly-386 | dragonfly-amd64 | freebsd-386 | freebsd-amd64 | fr
esac
) || exit $?
-# This tests cgo -godefs. That mode is not supported,
+# This tests cgo -cdefs. That mode is not supported,
# so it's okay if it doesn't work on some systems.
# In particular, it works badly with clang on OS X.
[ "$CGO_ENABLED" != 1 ] || [ "$GOOS" == darwin ] ||
@@ -170,6 +170,11 @@ esac
./test.bash || exit 1
) || exit $?
+[ "$CGO_ENABLED" != 1 ] || [ "$GOOS" == darwin ] ||
+(xcd ../misc/cgo/testgodefs
+./test.bash || exit 1
+) || exit $?
+
[ "$CGO_ENABLED" != 1 ] ||
[ "$GOHOSTOS" == windows ] ||
(xcd ../misc/cgo/testso