1
0
mirror of https://github.com/golang/go synced 2024-11-23 05:10:09 -07:00

test/run: print command line for running an individual test

Fixes #5087.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/13812043
This commit is contained in:
Russ Cox 2013-09-20 15:25:59 -04:00
parent 5be1821a31
commit 8ce9a4fd26

View File

@ -135,7 +135,7 @@ func main() {
if !*verbose && test.err == nil {
continue
}
fmt.Printf("%-20s %-20s: %s\n", test.action, test.goFileName(), errStr)
fmt.Printf("# go run run.go -- %s\n%-20s %-20s: %s\n", path.Join(test.dir, test.gofile), test.action, test.goFileName(), errStr)
}
if *summary {