]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/testcshared: print a little more about GOROOT on failure
authorRuss Cox <rsc@golang.org>
Mon, 4 Jan 2016 20:08:03 +0000 (15:08 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 5 Jan 2016 14:19:24 +0000 (14:19 +0000)
For #13789.

Change-Id: I83973298a35afcf55627f0a72223098306a51f4b
Reviewed-on: https://go-review.googlesource.com/18233
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/testcshared/test.bash

index ac852a007a9ac4c4ee370f7602f680c3b6c88d25..4446402ad9ddbc7ed4056021129f0a064665552d 100755 (executable)
@@ -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