aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/testcdefs/test.bash
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/testcdefs/test.bash')
-rwxr-xr-xmisc/cgo/testcdefs/test.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/testcdefs/test.bash b/misc/cgo/testcdefs/test.bash
index cbfa9b27d9..1a14ad35c6 100755
--- a/misc/cgo/testcdefs/test.bash
+++ b/misc/cgo/testcdefs/test.bash
@@ -10,7 +10,7 @@ do
go tool cgo -cdefs ${FP}.go > ${FP}.h
done
-go build .
+go build . && ./testcdefs
EXIT=$?
rm -rf _obj main *.h
exit $EXIT