mirror of
https://github.com/golang/go
synced 2024-11-18 18:04:46 -07:00
runtime: more detail for crash_test.go
This updates the testcase to display the timestamps for the runtime.a, it dependent packages atomic.a and sys.a, and source files. Change-Id: Id2901b4e8aa8eb9775c4f404ac01cc07b394ba91 Reviewed-on: https://go-review.googlesource.com/37332 Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
094992e22a
commit
ea48c9d232
@ -170,6 +170,9 @@ 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…
Reference in New Issue
Block a user