Commit 40c27ed5 authored by Ian Lance Taylor's avatar Ian Lance Taylor

runtime: if runtime is stale while testing, show cmd/go output

Update #19062.

Change-Id: If6a4c4f8d12e148b162256f13a8ee423f6e30637
Reviewed-on: https://go-review.googlesource.com/36918Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 5a303aa1
......@@ -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'.")
}
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment