From: Russ Cox Date: Mon, 4 Jan 2016 20:08:03 +0000 (-0500) Subject: misc/cgo/testcshared: print a little more about GOROOT on failure X-Git-Tag: go1.6beta2~157 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f2c36df9a2192bf970eaa410655c3e1776580f83;p=gostls13.git misc/cgo/testcshared: print a little more about GOROOT on failure For #13789. Change-Id: I83973298a35afcf55627f0a72223098306a51f4b Reviewed-on: https://go-review.googlesource.com/18233 Reviewed-by: Ian Lance Taylor --- diff --git a/misc/cgo/testcshared/test.bash b/misc/cgo/testcshared/test.bash index ac852a007a..4446402ad9 100755 --- a/misc/cgo/testcshared/test.bash +++ b/misc/cgo/testcshared/test.bash @@ -19,6 +19,8 @@ goarch=$(go env GOARCH) goroot=$(go env GOROOT) if [ ! -d "$goroot" ]; then echo 'misc/cgo/testcshared/test.bash cannnot find GOROOT' 1>&2 + echo '$GOROOT:' "$GOROOT" 1>&2 + echo 'go env GOROOT:' "$goroot" 1>&2 exit 1 fi