summaryrefslogtreecommitdiff
path: root/test/run.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-09-20 15:25:59 -0400
committerRuss Cox <rsc@golang.org>2013-09-20 15:25:59 -0400
commita41fa7205f9fdc49954b3ac2fde0156e92994434 (patch)
treeb834de7a5312faf031c5e0293159288b2e0fd978 /test/run.go
parent684409201ef1dea13a63fadacdf17aac70f52d66 (diff)
downloadgo-a41fa7205f9fdc49954b3ac2fde0156e92994434.tar.gz
test/run: print command line for running an individual test
Fixes issue 5087. R=golang-dev, bradfitz CC=golang-dev https://codereview.appspot.com/13812043
Diffstat (limited to 'test/run.go')
-rw-r--r--test/run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run.go b/test/run.go
index 353553240..f1f1ec034 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 {