mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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 <bradfitz@golang.org>
This commit is contained in:
parent
5a303aa1e9
commit
40c27ed5bc
1 changed files with 1 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ func checkStaleRuntime(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if string(out) != "false\n" {
|
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'.")
|
staleRuntimeErr = fmt.Errorf("Stale runtime.a. Run 'go install runtime'.")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue