summaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/run.bash b/src/run.bash
index 4706c2bc4..76216ba01 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -145,6 +145,9 @@ dragonfly-386 | dragonfly-amd64 | freebsd-386 | freebsd-amd64 | freebsd-arm | li
echo "No support for static linking found (lacks libc.a?), skip cgo static linking test."
else
go test -ldflags '-linkmode=external -extldflags "-static -pthread"' ../testtls || exit 1
+ go test ../nocgo || exit 1
+ go test -ldflags '-linkmode=external' ../nocgo || exit 1
+ go test -ldflags '-linkmode=external -extldflags "-static -pthread"' ../nocgo || exit 1
fi
;;
esac