From: Ian Lance Taylor Date: Mon, 13 Feb 2017 19:46:48 +0000 (-0800) Subject: runtime: if runtime is stale while testing, show cmd/go output X-Git-Tag: go1.9beta1~1588 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=40c27ed5bc9297718809e00e3158967414aa9ee5;p=gostls13.git runtime: if runtime is stale while testing, show cmd/go output Update #19062. Change-Id: If6a4c4f8d12e148b162256f13a8ee423f6e30637 Reviewed-on: https://go-review.googlesource.com/36918 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/runtime/crash_test.go b/src/runtime/crash_test.go index 9ec0ae468b..7c7532b4e6 100644 --- a/src/runtime/crash_test.go +++ b/src/runtime/crash_test.go @@ -164,6 +164,7 @@ func checkStaleRuntime(t *testing.T) { return } if string(out) != "false\n" { + t.Logf("go list -f {{.Stale}} runtime:\n%s", out) staleRuntimeErr = fmt.Errorf("Stale runtime.a. Run 'go install runtime'.") } })