diff options
Diffstat (limited to 'src/run.bash')
-rwxr-xr-x | src/run.bash | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/run.bash b/src/run.bash index 6eec7caa40..8590ea8d49 100755 --- a/src/run.bash +++ b/src/run.bash @@ -112,6 +112,8 @@ go run $GOROOT/test/run.go - . || exit 1 [ "$CGO_ENABLED" != 1 ] || (xcd ../misc/cgo/test +# cgo tests inspect the traceback for runtime functions +export GOTRACEBACK=2 go test -ldflags '-linkmode=auto' || exit 1 # linkmode=internal fails on dragonfly since errno is a TLS relocation. [ "$GOHOSTOS" == dragonfly ] || go test -ldflags '-linkmode=internal' || exit 1 |