From: Russ Cox Date: Fri, 20 Sep 2013 19:25:59 +0000 (-0400) Subject: test/run: print command line for running an individual test X-Git-Tag: go1.2rc2~155 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8ce9a4fd26167c8abc912808bb632c357013573d;p=gostls13.git test/run: print command line for running an individual test Fixes #5087. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13812043 --- diff --git a/test/run.go b/test/run.go index 3535532406..f1f1ec0345 100644 --- a/test/run.go +++ b/test/run.go @@ -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 {