Skip to content

Commit 40c27ed

Browse files
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 <[email protected]>
1 parent 5a303aa commit 40c27ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/crash_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ func checkStaleRuntime(t *testing.T) {
164164
return
165165
}
166166
if string(out) != "false\n" {
167+
t.Logf("go list -f {{.Stale}} runtime:\n%s", out)
167168
staleRuntimeErr = fmt.Errorf("Stale runtime.a. Run 'go install runtime'.")
168169
}
169170
})

0 commit comments

Comments
 (0)