Skip to content

Commit

Permalink
run.bash: run misc/cgo/testgodefs/test.bash
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mdempsky authored and ianlancetaylor committed Aug 12, 2014
1 parent 31a996e commit 444b928
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,19 @@ 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 ] ||
(xcd ../misc/cgo/testcdefs
./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
Expand Down

0 comments on commit 444b928

Please sign in to comment.