From: Rob Pike Date: Thu, 20 Nov 2008 03:43:32 +0000 (-0800) Subject: refine gobuild: the files must be *_test.go not *test.go X-Git-Tag: weekly.2009-11-06~2650 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c0a01e966543dc1bdbbfe039c516098cc0e218cb;p=gostls13.git refine gobuild: the files must be *_test.go not *test.go this causes complications R=rsc DELTA=1724 (849 added, 856 deleted, 19 changed) OCL=19667 CL=19667 --- diff --git a/src/cmd/gobuild/gobuild.c b/src/cmd/gobuild/gobuild.c index 07a7862f6c..55553ec364 100644 --- a/src/cmd/gobuild/gobuild.c +++ b/src/cmd/gobuild/gobuild.c @@ -290,7 +290,7 @@ char preamble[] = "\n" "coverage: packages\n" "\tgotest\n" - "\t6cov -g `pwd` | grep -v '^.*test\\.go:'\n" + "\t6cov -g `pwd` | grep -v '_test\\.go:'\n" "\n" "%%.$O: %%.go\n" "\t$(GC) $*.go\n" @@ -487,7 +487,7 @@ main(int argc, char **argv) njob = 0; job = emalloc(argc*sizeof job[0]); for(i=0; i