mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime, cmd/go: roll back stale message, test detail
Some debugging code was recently added to: 1) provide more detail for the stale reason when it is determined that a package is stale 2) provide file and package time and date information when it is determined that runtime.a is stale This backs out those those debugging messages. Fixes #19116 Change-Id: I8dd0cbe29324820275b481d8bbb78ff2c5fbc362 Reviewed-on: https://go-review.googlesource.com/37382 Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
32bb13abbe
commit
e54bc92a2c
2 changed files with 3 additions and 14 deletions
|
|
@ -170,9 +170,6 @@ func checkStaleRuntime(t *testing.T) {
|
|||
t.Logf("go list -f {{.StaleReason}} failed: %v", err)
|
||||
}
|
||||
t.Logf("go list -f {{.StaleReason}} runtime:\n%s", out)
|
||||
out, err = testEnv(exec.Command("ls", "-lR", "--full-time", runtime.GOROOT())).CombinedOutput()
|
||||
t.Logf("%s", out)
|
||||
|
||||
staleRuntimeErr = fmt.Errorf("Stale runtime.a. Run 'go install runtime'.")
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue