]> Cypherpunks.ru repositories - gostls13.git/commitdiff
run.bash: run misc/cgo/testgodefs/test.bash
authorMatthew Dempsky <mdempsky@google.com>
Tue, 12 Aug 2014 14:13:52 +0000 (07:13 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 12 Aug 2014 14:13:52 +0000 (07:13 -0700)
misc/cgo/testgodefs was added by revision d1cf884a594f, but not
add to run.bash.

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/129760044

src/run.bash

index d13161e9de1a5a283a3b993d60793dee53b8e7a2..b5f061d885d92bccb45eb613d6027d7aeb513de0 100755 (executable)
@@ -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