]> Cypherpunks repositories - gostls13.git/commit
testing: add -test.example flag to control execution of examples
authorRob Pike <r@golang.org>
Mon, 27 Feb 2012 01:49:10 +0000 (12:49 +1100)
committerRob Pike <r@golang.org>
Mon, 27 Feb 2012 01:49:10 +0000 (12:49 +1100)
commit5876b4eb2881336c9e7007c957002d15ef54a190
tree8422d7fb15c8f41a94f92a5bf9ce3317f0df7035
parentc7482b919619b459cb68e3a0c681afa1c3425dc4
testing: add -test.example flag to control execution of examples
Also, don't run examples if -test.run is set.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5697069
src/cmd/go/test.go
src/cmd/go/testflag.go
src/pkg/testing/example.go
src/pkg/testing/testing.go